Interface ZestLoopTokenSet<T>

    • Method Detail

      • getToken

        T getToken​(int index)
        returns the token at a given index.
        Parameters:
        index - the index of the token
        Returns:
        the token at the given index
      • indexOf

        int indexOf​(T token)
        returns the index of a given token.
        Parameters:
        token - the token whose index we are searching for
        Returns:
        the index of the token
      • getLastToken

        T getLastToken()
        returns the last token the loop may consider.
        Returns:
        the last token the loop may consider
      • size

        int size()
        returns the size of this set.
        Returns:
        the size of this set
      • deepCopy

        ZestLoopTokenSet<T> deepCopy()
        Deep copy.
        Returns:
        the zest loop token set
      • getFirstState

        ZestLoopState<T> getFirstState()
        Gets the first state.
        Returns:
        the first state