PrimitiveIterator.OfLong

public static interface PrimitiveIterator.OfLong implements PrimitiveIterator<LongLongConsumer>

An Iterator specialized for long values.

Public Method Summary

void
forEachRemaining(LongConsumer action)
Performs the given action for each remaining element until all elements have been processed or the action throws an exception.
void
forEachRemaining(Consumer<? super Long> action)
Long
next()
Returns the next element in the iteration.
abstract long
nextLong()
Returns the next long element in the iteration.

Inherited Method Summary