Class ReverseIntIterator

  • All Implemented Interfaces:
    IntIterator

    final class ReverseIntIterator
    extends java.lang.Object
    implements IntIterator
    The ReverseIntIterator is the 64 bit implementation of the IntIterator interface, which efficiently returns the stream of integers represented by a ReverseEWAHIterator in reverse order.
    • Field Detail

      • sizeInBits

        private final int sizeInBits
      • buffer

        private final Buffer buffer
      • position

        private int position
      • runningBit

        private boolean runningBit
      • runningLength

        private int runningLength
      • word

        private long word
      • wordPosition

        private int wordPosition
      • wordLength

        private int wordLength
      • literalPosition

        private int literalPosition
      • hasNext

        private boolean hasNext
    • Constructor Detail

    • Method Detail

      • hasNext

        public boolean hasNext()
        Description copied from interface: IntIterator
        Is there more?
        Specified by:
        hasNext in interface IntIterator
        Returns:
        true, if there is more, false otherwise
      • next

        public int next()
        Description copied from interface: IntIterator
        Return the next integer
        Specified by:
        next in interface IntIterator
        Returns:
        the integer
      • moveToPreviousRLW

        private boolean moveToPreviousRLW()
      • runningHasNext

        private boolean runningHasNext()
      • literalHasNext

        private boolean literalHasNext()