InElementT - the element type of the input spliteratorOutElementT - the (boxed) element type of the output spliteratorsOutConsumerT - the specialized consumer type for the primitive output typeOutSpliteratorT - the primitive spliterator type associated with OutElementTabstract static class CollectSpliterators.FlatMapSpliteratorOfPrimitive<InElementT,OutElementT,OutConsumerT,OutSpliteratorT extends java.util.Spliterator.OfPrimitive<OutElementT,OutConsumerT,OutSpliteratorT>> extends CollectSpliterators.FlatMapSpliterator<InElementT,OutElementT,OutSpliteratorT> implements java.util.Spliterator.OfPrimitive<OutElementT,OutConsumerT,OutSpliteratorT>
Stream#flatMap with a primitive spliterator output type.CollectSpliterators.FlatMapSpliterator.Factory<InElementT,OutSpliteratorT extends java.util.Spliterator<?>>characteristics, estimatedSize, factory, from, function, prefix| Constructor and Description |
|---|
FlatMapSpliteratorOfPrimitive(OutSpliteratorT prefix,
java.util.Spliterator<InElementT> from,
java.util.function.Function<? super InElementT,OutSpliteratorT> function,
CollectSpliterators.FlatMapSpliterator.Factory<InElementT,OutSpliteratorT> factory,
int characteristics,
long estimatedSize) |
| Modifier and Type | Method and Description |
|---|---|
void |
forEachRemaining(OutConsumerT action) |
boolean |
tryAdvance(OutConsumerT action) |
characteristics, estimateSize, forEachRemaining, tryAdvance, trySplitFlatMapSpliteratorOfPrimitive(@CheckForNull
OutSpliteratorT prefix,
java.util.Spliterator<InElementT> from,
java.util.function.Function<? super InElementT,OutSpliteratorT> function,
CollectSpliterators.FlatMapSpliterator.Factory<InElementT,OutSpliteratorT> factory,
int characteristics,
long estimatedSize)
public final boolean tryAdvance(OutConsumerT action)
tryAdvance in interface java.util.Spliterator.OfPrimitive<OutElementT,OutConsumerT,OutSpliteratorT extends java.util.Spliterator.OfPrimitive<OutElementT,OutConsumerT,OutSpliteratorT>>public final void forEachRemaining(OutConsumerT action)
forEachRemaining in interface java.util.Spliterator.OfPrimitive<OutElementT,OutConsumerT,OutSpliteratorT extends java.util.Spliterator.OfPrimitive<OutElementT,OutConsumerT,OutSpliteratorT>>