Package it.unimi.dsi.fastutil.ints
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:
-
Nested Class Summary
Nested classes/interfaces inherited from interface java.util.PrimitiveIterator
PrimitiveIterator.OfDouble, PrimitiveIterator.OfInt, PrimitiveIterator.OfLong -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionlongback(long n) clone()voidforEachRemaining(Consumer<? super Integer> action) Deprecated.voidforEachRemaining(IntConsumer action) booleanhasNext()booleanlongintnextInt()longintlongskip(long n) Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface it.unimi.dsi.fastutil.ints.IntBidirectionalIterator
back, previousMethods inherited from interface it.unimi.dsi.fastutil.ints.IntBigListIterator
add, add, set, set, skipMethods inherited from interface it.unimi.dsi.fastutil.ints.IntIterator
forEachRemaining, next
-
Constructor Details
-
EmptyBigListIterator
protected EmptyBigListIterator()
-
-
Method Details
-
hasNext
public boolean hasNext() -
hasPrevious
public boolean hasPrevious()- Specified by:
hasPreviousin interfaceit.unimi.dsi.fastutil.BidirectionalIterator<Integer>
-
nextInt
public int nextInt()- Specified by:
nextIntin interfaceit.unimi.dsi.fastutil.ints.IntIterator- Specified by:
nextIntin interfacePrimitiveIterator.OfInt
-
previousInt
public int previousInt()- Specified by:
previousIntin interfaceit.unimi.dsi.fastutil.ints.IntBidirectionalIterator
-
nextIndex
public long nextIndex()- Specified by:
nextIndexin interfaceit.unimi.dsi.fastutil.BigListIterator<Integer>
-
previousIndex
public long previousIndex()- Specified by:
previousIndexin interfaceit.unimi.dsi.fastutil.BigListIterator<Integer>
-
skip
public long skip(long n) - Specified by:
skipin interfaceit.unimi.dsi.fastutil.ints.IntBigListIterator
-
back
public long back(long n) - Specified by:
backin interfaceit.unimi.dsi.fastutil.ints.IntBigListIterator
-
clone
-
forEachRemaining
- Specified by:
forEachRemainingin interfacePrimitiveIterator<Integer,IntConsumer> - Specified by:
forEachRemainingin interfacePrimitiveIterator.OfInt
-
forEachRemaining
Deprecated.- Specified by:
forEachRemainingin interfaceit.unimi.dsi.fastutil.ints.IntIterator- Specified by:
forEachRemainingin interfaceIterator<Integer>- Specified by:
forEachRemainingin interfacePrimitiveIterator.OfInt
-