public interface ShortSplititerator extends java.util.Spliterator.OfPrimitive<java.lang.Short,ShortConsumer,ShortSplititerator>, ShortIterator
| Modifier and Type | Method and Description |
|---|---|
default void |
forEachRemaining(java.util.function.Consumer<? super java.lang.Short> action)
Deprecated.
|
default void |
forEachRemaining(ShortConsumer 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, tryAdvancenext, nextShort, skipdefault void forEachRemaining(ShortConsumer action)
ShortIteratorforEachRemaining in interface ShortIteratorforEachRemaining in interface java.util.Spliterator.OfPrimitive<java.lang.Short,ShortConsumer,ShortSplititerator>action - The action to be performed for each elementIterator.forEachRemaining(Consumer)@Deprecated default void forEachRemaining(java.util.function.Consumer<? super java.lang.Short> action)
ShortIteratorThis default implementation delegates to the corresponding type-specific function.
forEachRemaining in interface java.util.Iterator<java.lang.Short>forEachRemaining in interface ShortIteratorforEachRemaining in interface java.util.Spliterator<java.lang.Short>