Class EmptyIntIterator

    • Method Detail

      • hasNext

        public boolean hasNext()
        Specified by:
        hasNext in interface org.roaringbitmap.IntIterator
        Specified by:
        hasNext in interface IntSet.IntIterator
        Returns:
        true if the iterator has more elements.
      • next

        public int next()
        Specified by:
        next in interface org.roaringbitmap.IntIterator
        Specified by:
        next in interface IntSet.IntIterator
        Returns:
        the next element in the iteration.
      • skipAllBefore

        public void skipAllBefore​(int element)
        Description copied from interface: IntSet.IntIterator
        Skips all the elements before the specified element, so that IntSet.IntIterator.next() gives the given element or, if it does not exist, the element immediately after according to the sorting provided by this set.

        If element is less than the next element, it does nothing

        Specified by:
        skipAllBefore in interface IntSet.IntIterator
        Parameters:
        element - first element to not skip