public interface LongSplititerator extends java.util.Spliterator.OfPrimitive<java.lang.Long,LongConsumer,LongSplititerator>, LongIterator
| Modifier and Type | Method and Description |
|---|---|
default void |
forEachRemaining(java.util.function.Consumer<? super java.lang.Long> action)
Deprecated.
|
default void |
forEachRemaining(LongConsumer action)
Performs the given action for each remaining element until all elements
have been processed or the action throws an exception.
|
characteristics, estimateSize, getComparator, getExactSizeIfKnown, hasCharacteristics, tryAdvanceforEachRemaining, next, nextLong, skipdefault void forEachRemaining(LongConsumer action)
LongIteratorforEachRemaining in interface LongIteratorforEachRemaining in interface java.util.Spliterator.OfPrimitive<java.lang.Long,LongConsumer,LongSplititerator>action - The action to be performed for each elementIterator.forEachRemaining(Consumer)@Deprecated default void forEachRemaining(java.util.function.Consumer<? super java.lang.Long> action)
LongIteratorThis default implementation delegates to the corresponding type-specific function.
forEachRemaining in interface java.util.Iterator<java.lang.Long>forEachRemaining in interface LongIteratorforEachRemaining in interface java.util.Spliterator<java.lang.Long>