I - the type of the input streamO - the type of the output streampublic class FlatMapOperation<I,O> extends Object implements IntermediateOperation<I,Stream<I>,O,Stream<O>>
Stream| Constructor and Description |
|---|
FlatMapOperation(Function<? super I,? extends Stream<? extends O>> function) |
| Modifier and Type | Method and Description |
|---|---|
Function<? super I,? extends Stream<? extends O>> |
getFunction() |
Stream<O> |
perform(Stream<I> stream)
Performs the actualy intermediate operation returning the resulting stream
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waithandleInjectionpublic Stream<O> perform(Stream<I> stream)
IntermediateOperationCopyright © 2025 JBoss, a division of Red Hat. All rights reserved.