Package it.unimi.dsi.fastutil.bytes
Class ByteBigListIterators.EmptyBigListIterator
java.lang.Object
it.unimi.dsi.fastutil.bytes.ByteBigListIterators.EmptyBigListIterator
- All Implemented Interfaces:
it.unimi.dsi.fastutil.BidirectionalIterator<Byte>,it.unimi.dsi.fastutil.BigListIterator<Byte>,it.unimi.dsi.fastutil.bytes.ByteBidirectionalIterator,it.unimi.dsi.fastutil.bytes.ByteBigListIterator,it.unimi.dsi.fastutil.bytes.ByteIterator,it.unimi.dsi.fastutil.objects.ObjectBidirectionalIterator<Byte>,it.unimi.dsi.fastutil.objects.ObjectIterator<Byte>,Serializable,Cloneable,Iterator<Byte>,PrimitiveIterator<Byte,it.unimi.dsi.fastutil.bytes.ByteConsumer>
- Enclosing class:
ByteBigListIterators
public static class ByteBigListIterators.EmptyBigListIterator
extends Object
implements it.unimi.dsi.fastutil.bytes.ByteBigListIterator, 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(it.unimi.dsi.fastutil.bytes.ByteConsumer action) voidforEachRemaining(Consumer<? super Byte> action) Deprecated.booleanhasNext()booleanbytenextByte()longbytelonglongskip(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.bytes.ByteBidirectionalIterator
back, previousMethods inherited from interface it.unimi.dsi.fastutil.bytes.ByteBigListIterator
add, add, set, set, skipMethods inherited from interface it.unimi.dsi.fastutil.bytes.ByteIterator
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<Byte>
-
nextByte
public byte nextByte()- Specified by:
nextBytein interfaceit.unimi.dsi.fastutil.bytes.ByteIterator
-
previousByte
public byte previousByte()- Specified by:
previousBytein interfaceit.unimi.dsi.fastutil.bytes.ByteBidirectionalIterator
-
nextIndex
public long nextIndex()- Specified by:
nextIndexin interfaceit.unimi.dsi.fastutil.BigListIterator<Byte>
-
previousIndex
public long previousIndex()- Specified by:
previousIndexin interfaceit.unimi.dsi.fastutil.BigListIterator<Byte>
-
skip
public long skip(long n) - Specified by:
skipin interfaceit.unimi.dsi.fastutil.bytes.ByteBigListIterator
-
back
public long back(long n) - Specified by:
backin interfaceit.unimi.dsi.fastutil.bytes.ByteBigListIterator
-
clone
-
forEachRemaining
public void forEachRemaining(it.unimi.dsi.fastutil.bytes.ByteConsumer action) - Specified by:
forEachRemainingin interfaceit.unimi.dsi.fastutil.bytes.ByteIterator- Specified by:
forEachRemainingin interfacePrimitiveIterator<Byte,it.unimi.dsi.fastutil.bytes.ByteConsumer>
-
forEachRemaining
Deprecated.- Specified by:
forEachRemainingin interfaceit.unimi.dsi.fastutil.bytes.ByteIterator- Specified by:
forEachRemainingin interfaceIterator<Byte>
-