Interface PeekableShortIterator

    • Method Detail

      • advanceIfNeeded

        void advanceIfNeeded​(short minval)
        If needed, advance as long as the next value is smaller than minval (as an unsigned short)
        Parameters:
        minval - threshold
      • peekNext

        short peekNext()
        Look at the next value without advancing
        Returns:
        next value