Package com.illumon.iris.db.v2.utils.rsp
Class RspIterator
java.lang.Object
com.illumon.iris.db.v2.utils.rsp.RspIterator
- All Implemented Interfaces:
SafeCloseable,AutoCloseable,Iterator<Long>,PrimitiveIterator<Long,,LongConsumer> PrimitiveIterator.OfLong
-
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 TypeMethodDescriptionvoidclose()intcopyTo(long[] vs, int offset, int max) intcopyTo(WritableLongChunk<? extends Attributes.KeyIndices> chunk, int offset, int max) booleanbooleanhasNext()longnextLong()voidrelease()Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.util.PrimitiveIterator.OfLong
forEachRemaining, forEachRemaining, next
-
Constructor Details
-
RspIterator
-
-
Method Details
-
release
public void release() -
close
public void close()- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceSafeCloseable
-
forEachLong
-
copyTo
public int copyTo(long[] vs, int offset, int max) -
copyTo
-
hasNext
public boolean hasNext() -
nextLong
public long nextLong()- Specified by:
nextLongin interfacePrimitiveIterator.OfLong
-