Package io.deephaven.engine.rowset
Interface RowSet.Iterator
- All Superinterfaces:
AutoCloseable
,Iterator<Long>
,PrimitiveIterator<Long,
,LongConsumer> PrimitiveIterator.OfLong
,SafeCloseable
- All Known Subinterfaces:
RowSet.SearchIterator
- Enclosing interface:
- RowSet
-
Nested Class Summary
Nested classes/interfaces inherited from interface java.util.PrimitiveIterator
PrimitiveIterator.OfDouble, PrimitiveIterator.OfInt, PrimitiveIterator.OfLong
-
Method Summary
Modifier and TypeMethodDescriptiondefault boolean
Starting from the current next iterator position, provide each value to the consumer, until either the iterator is exhausted or a call to lc.accept returns false; ie, if the consumer returns false for a value, stops after that value (does not provide any values after that).Methods inherited from interface java.util.PrimitiveIterator.OfLong
forEachRemaining, forEachRemaining, next, nextLong
Methods inherited from interface io.deephaven.util.SafeCloseable
close
-
Method Details
-
forEachLong
Starting from the current next iterator position, provide each value to the consumer, until either the iterator is exhausted or a call to lc.accept returns false; ie, if the consumer returns false for a value, stops after that value (does not provide any values after that).- Parameters:
lc
- the consumer.- Returns:
- false if the consumer ever returned false, true otherwise.
-