Class MappeableRunContainerCharIterator

    • Field Detail

      • pos

        private int pos
      • le

        private int le
      • maxlength

        private int maxlength
      • base

        private int base
    • Constructor Detail

      • MappeableRunContainerCharIterator

        MappeableRunContainerCharIterator()
    • Method Detail

      • hasNext

        public boolean hasNext()
        Specified by:
        hasNext in interface CharIterator
        Returns:
        whether there is another value
      • next

        public char next()
        Specified by:
        next in interface CharIterator
        Returns:
        next char value
      • nextAsInt

        public int nextAsInt()
        Specified by:
        nextAsInt in interface CharIterator
        Returns:
        next short value as int value (using the least significant 16 bits)
      • remove

        public void remove()
        Description copied from interface: CharIterator
        If possible, remove the current value
        Specified by:
        remove in interface CharIterator
      • advanceIfNeeded

        public void advanceIfNeeded​(char minval)
        Description copied from interface: PeekableCharIterator
        If needed, when iterating forward through the chars it will advance as long as the next value is smaller than val (as an unsigned short) when iterating in reverse through the chars it will advance as long as the next value is larger than val (as an unsigned short)
        Specified by:
        advanceIfNeeded in interface PeekableCharIterator
        Parameters:
        minval - threshold