Class IntBigListIterators.EmptyBigListIterator

java.lang.Object
it.unimi.dsi.fastutil.ints.IntBigListIterators.EmptyBigListIterator
All Implemented Interfaces:
it.unimi.dsi.fastutil.BidirectionalIterator<Integer>, it.unimi.dsi.fastutil.BigListIterator<Integer>, it.unimi.dsi.fastutil.ints.IntBidirectionalIterator, it.unimi.dsi.fastutil.ints.IntBigListIterator, it.unimi.dsi.fastutil.ints.IntIterator, it.unimi.dsi.fastutil.objects.ObjectBidirectionalIterator<Integer>, it.unimi.dsi.fastutil.objects.ObjectIterator<Integer>, Serializable, Cloneable, Iterator<Integer>, PrimitiveIterator<Integer,IntConsumer>, PrimitiveIterator.OfInt
Enclosing class:
IntBigListIterators

public static class IntBigListIterators.EmptyBigListIterator extends Object implements it.unimi.dsi.fastutil.ints.IntBigListIterator, Serializable, Cloneable
A class returning no elements and a type-specific big list iterator interface.

This class may be useful to implement your own in case you subclass a type-specific iterator.

See Also:
  • Constructor Details

    • EmptyBigListIterator

      protected EmptyBigListIterator()
  • Method Details

    • hasNext

      public boolean hasNext()
      Specified by:
      hasNext in interface Iterator<Integer>
    • hasPrevious

      public boolean hasPrevious()
      Specified by:
      hasPrevious in interface it.unimi.dsi.fastutil.BidirectionalIterator<Integer>
    • nextInt

      public int nextInt()
      Specified by:
      nextInt in interface it.unimi.dsi.fastutil.ints.IntIterator
      Specified by:
      nextInt in interface PrimitiveIterator.OfInt
    • previousInt

      public int previousInt()
      Specified by:
      previousInt in interface it.unimi.dsi.fastutil.ints.IntBidirectionalIterator
    • nextIndex

      public long nextIndex()
      Specified by:
      nextIndex in interface it.unimi.dsi.fastutil.BigListIterator<Integer>
    • previousIndex

      public long previousIndex()
      Specified by:
      previousIndex in interface it.unimi.dsi.fastutil.BigListIterator<Integer>
    • skip

      public long skip(long n)
      Specified by:
      skip in interface it.unimi.dsi.fastutil.ints.IntBigListIterator
    • back

      public long back(long n)
      Specified by:
      back in interface it.unimi.dsi.fastutil.ints.IntBigListIterator
    • clone

      public Object clone()
      Overrides:
      clone in class Object
    • forEachRemaining

      public void forEachRemaining(IntConsumer action)
      Specified by:
      forEachRemaining in interface PrimitiveIterator<Integer,IntConsumer>
      Specified by:
      forEachRemaining in interface PrimitiveIterator.OfInt
    • forEachRemaining

      @Deprecated public void forEachRemaining(Consumer<? super Integer> action)
      Deprecated.
      Specified by:
      forEachRemaining in interface it.unimi.dsi.fastutil.ints.IntIterator
      Specified by:
      forEachRemaining in interface Iterator<Integer>
      Specified by:
      forEachRemaining in interface PrimitiveIterator.OfInt