transitionUpto
Remembers where we are in the iteration; init to -1 to provoke exception if nextTransition is called without first initTransition.
Remembers where we are in the iteration; init to -1 to provoke exception if nextTransition is called without first initTransition.