Package it.unimi.dsi.fastutil.ints
Class IntBigListIterators.UnmodifiableBigListIterator
java.lang.Object
it.unimi.dsi.fastutil.ints.IntBigListIterators.UnmodifiableBigListIterator
- 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>,Iterator<Integer>,PrimitiveIterator<Integer,,IntConsumer> PrimitiveIterator.OfInt
- Enclosing class:
IntBigListIterators
public static class IntBigListIterators.UnmodifiableBigListIterator
extends Object
implements it.unimi.dsi.fastutil.ints.IntBigListIterator
An unmodifiable wrapper class for big list iterators.
-
Nested Class Summary
Nested classes/interfaces inherited from interface java.util.PrimitiveIterator
PrimitiveIterator.OfDouble, PrimitiveIterator.OfInt, PrimitiveIterator.OfLong -
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionUnmodifiableBigListIterator(it.unimi.dsi.fastutil.ints.IntBigListIterator i) -
Method Summary
Modifier and TypeMethodDescriptionvoidforEachRemaining(Consumer<? super Integer> action) Deprecated.voidforEachRemaining(IntConsumer action) booleanhasNext()booleanlongintnextInt()longintMethods inherited from class java.lang.Object
clone, 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, back, set, set, skip, skipMethods inherited from interface it.unimi.dsi.fastutil.ints.IntIterator
forEachRemaining, next
-
Field Details
-
i
protected final it.unimi.dsi.fastutil.ints.IntBigListIterator i
-
-
Constructor Details
-
UnmodifiableBigListIterator
public UnmodifiableBigListIterator(it.unimi.dsi.fastutil.ints.IntBigListIterator i)
-
-
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>
-
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
-