Interface RowSet.Iterator

All Superinterfaces:
AutoCloseable, Iterator<Long>, PrimitiveIterator<Long,LongConsumer>, PrimitiveIterator.OfLong, SafeCloseable
All Known Subinterfaces:
RowSet.SearchIterator
Enclosing interface:
RowSet

public static interface RowSet.Iterator extends PrimitiveIterator.OfLong, SafeCloseable
  • Method Details

    • forEachLong

      default boolean forEachLong(LongAbortableConsumer lc)
      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.