Spliterator<T>public class EnumerableSpliterator<T> extends Object implements Spliterator<T>
Spliterator.OfDouble, Spliterator.OfInt, Spliterator.OfLong, Spliterator.OfPrimitive<T extends Object,T_CONS extends Object,T_SPLITR extends Spliterator.OfPrimitive<T,T_CONS,T_SPLITR>>CONCURRENT, DISTINCT, IMMUTABLE, NONNULL, ORDERED, SIZED, SORTED, SUBSIZED| Constructor | Description |
|---|---|
EnumerableSpliterator(Enumerable<T> enumerable) |
| Modifier and Type | Method | Description |
|---|---|---|
int |
characteristics() |
|
long |
estimateSize() |
|
void |
forEachRemaining(Consumer<? super T> action) |
|
boolean |
tryAdvance(Consumer<? super T> action) |
|
Spliterator<T> |
trySplit() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetComparator, getExactSizeIfKnown, hasCharacteristicspublic EnumerableSpliterator(Enumerable<T> enumerable)
public boolean tryAdvance(Consumer<? super T> action)
tryAdvance in interface Spliterator<T>public void forEachRemaining(Consumer<? super T> action)
forEachRemaining in interface Spliterator<T>public Spliterator<T> trySplit()
trySplit in interface Spliterator<T>public long estimateSize()
estimateSize in interface Spliterator<T>public int characteristics()
characteristics in interface Spliterator<T>Copyright © 2019. All rights reserved.