Class RspReverseIterator
java.lang.Object
io.deephaven.engine.rowset.impl.rsp.RspReverseIterator
- All Implemented Interfaces:
SafeCloseable
,AutoCloseable
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
advance
(long v) void
close()
long
current()
boolean
hasNext()
This method should be called: * After the iterator is created and before calling any other methods; if it returns false, calling any other methods results in undefined behavior.void
next()
void
release()
-
Constructor Details
-
RspReverseIterator
-
-
Method Details
-
current
public long current()- Returns:
- current iterator value, without advancing it. A valid call to next() should have happened before calling this method.
-
hasNext
public boolean hasNext()This method should be called: * After the iterator is created and before calling any other methods; if it returns false, calling any other methods results in undefined behavior. * Right after a call to next, similar to above.- Returns:
- true if a call to next leads to a valid next iterator value.
-
next
public void next() -
advance
public boolean advance(long v) -
release
public void release() -
close
public void close()- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceSafeCloseable
-