Interface SequenceTransitionable


  • public interface SequenceTransitionable
    An object that can be transitioned in a sequence.
    Author:
    Garret Wilson
    • Method Detail

      • canTransition

        boolean canTransition​(int indexDelta)
        Determines whether transition can occur to the given relative index.
        Parameters:
        indexDelta - The index relative to this position in the sequence to which transition will occur.
        Returns:
        true if transition can occur, else false if the transition should not occur.