public class EnumerationSpliterator<T> extends Object implements Spliterator<T>
Spliterator.OfDouble, Spliterator.OfInt, Spliterator.OfLong, Spliterator.OfPrimitive<T,T_CONS,T_SPLITR extends Spliterator.OfPrimitive<T,T_CONS,T_SPLITR>>CONCURRENT, DISTINCT, IMMUTABLE, NONNULL, ORDERED, SIZED, SORTED, SUBSIZED| Constructor and Description |
|---|
EnumerationSpliterator() |
| Modifier and Type | Method and Description |
|---|---|
int |
characteristics() |
static <T> EnumerationSpliterator<T> |
create(Enumeration<T> enumeration) |
long |
estimateSize() |
boolean |
tryAdvance(Consumer<? super T> action) |
Spliterator<T> |
trySplit() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitforEachRemaining, getComparator, getExactSizeIfKnown, hasCharacteristicspublic static <T> EnumerationSpliterator<T> create(Enumeration<T> enumeration)
public boolean tryAdvance(Consumer<? super T> action)
tryAdvance 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 © 2020. All rights reserved.