public static interface Spliterator.OfInt extends Spliterator.OfPrimitive<Integer,IntConsumer,Spliterator.OfInt>
Spliterator.OfDouble, Spliterator.OfInt, Spliterator.OfLong, Spliterator.OfPrimitive<T,C,S extends Spliterator.OfPrimitive<T,C,S>>
CONCURRENT, DISTINCT, IMMUTABLE, NONNULL, ORDERED, SIZED, SORTED, SUBSIZED
Modifier and Type | Method and Description |
---|---|
default void |
forEachRemaining(Consumer<? super Integer> consumer) |
default boolean |
tryAdvance(Consumer<? super Integer> consumer) |
forEachRemaining, tryAdvance, trySplit
characteristics, estimateSize, getComparator, getExactSizeIfKnown, hasCharacteristics
default boolean tryAdvance(Consumer<? super Integer> consumer)
tryAdvance
in interface Spliterator<Integer>
default void forEachRemaining(Consumer<? super Integer> consumer)
forEachRemaining
in interface Spliterator<Integer>
Copyright © 2018. All rights reserved.