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