Class IntIteratorImpl32

  • All Implemented Interfaces:
    IntIterator

    final class IntIteratorImpl32
    extends java.lang.Object
    implements IntIterator
    The IntIteratorImpl32 is the 32 bit implementation of the IntIterator interface, which efficiently returns the stream of integers represented by an EWAHIterator32.
    Since:
    0.5.6
    • Field Detail

      • position

        private int position
      • runningLength

        private int runningLength
      • word

        private int word
      • wordPosition

        private int wordPosition
      • wordLength

        private int wordLength
      • literalPosition

        private int literalPosition
      • hasnext

        private boolean hasnext
    • Constructor Detail

    • Method Detail

      • moveToNext

        public boolean moveToNext()
      • 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
      • runningHasNext

        private boolean runningHasNext()
      • literalHasNext

        private boolean literalHasNext()