Interface StringIterator

    • Method Detail

      • reset

        void reset()
        Reset the iterator to the initial position. After reset it will start iterating from the first value.

        Can be used to restart iterator that returns false when hasNext() is called.

      • current

        String current()
        Return same value as last call to next(). Behavior is not defined if method is called before next()
        Returns:
        Value returned by last call to next().