public class FlattenSpliterator<E> extends Object implements Spliterator<E>
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 |
---|
FlattenSpliterator(IntFunction<Collection<E>> toCollection,
int length,
int additionalCharacteristics) |
Modifier and Type | Method and Description |
---|---|
int |
characteristics() |
long |
estimateSize() |
void |
forEachRemaining(Consumer<? super E> action) |
boolean |
tryAdvance(Consumer<? super E> action) |
Spliterator<E> |
trySplit() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getComparator, getExactSizeIfKnown, hasCharacteristics
public FlattenSpliterator(IntFunction<Collection<E>> toCollection, int length, int additionalCharacteristics)
public boolean tryAdvance(Consumer<? super E> action)
tryAdvance
in interface Spliterator<E>
public void forEachRemaining(Consumer<? super E> action)
forEachRemaining
in interface Spliterator<E>
public Spliterator<E> trySplit()
trySplit
in interface Spliterator<E>
public long estimateSize()
estimateSize
in interface Spliterator<E>
public int characteristics()
characteristics
in interface Spliterator<E>
Copyright © 2021 JBoss by Red Hat. All rights reserved.