public interface IntSplititerator extends java.util.Spliterator.OfPrimitive<java.lang.Integer,IntConsumer,IntSplititerator>, IntIterator
| Modifier and Type | Method and Description |
|---|---|
default void |
forEachRemaining(java.util.function.Consumer<? super java.lang.Integer> action)
Deprecated.
|
default void |
forEachRemaining(IntConsumer 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, nextInt, skipdefault void forEachRemaining(IntConsumer action)
IntIteratorforEachRemaining in interface IntIteratorforEachRemaining in interface java.util.Spliterator.OfPrimitive<java.lang.Integer,IntConsumer,IntSplititerator>action - The action to be performed for each elementIterator.forEachRemaining(Consumer)@Deprecated default void forEachRemaining(java.util.function.Consumer<? super java.lang.Integer> action)
IntIteratorThis default implementation delegates to the corresponding type-specific function.
forEachRemaining in interface IntIteratorforEachRemaining in interface java.util.Iterator<java.lang.Integer>forEachRemaining in interface java.util.Spliterator<java.lang.Integer>