I - the type of the input streampublic class FlatMapToLongOperation<I> extends Object implements IntermediateOperation<I,Stream<I>,Long,LongStream>
Stream| Constructor and Description |
|---|
FlatMapToLongOperation(Function<? super I,? extends LongStream> function) |
| Modifier and Type | Method and Description |
|---|---|
Function<? super I,? extends LongStream> |
getFunction() |
LongStream |
perform(Stream<I> stream)
Performs the actualy intermediate operation returning the resulting stream
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waithandleInjectionpublic FlatMapToLongOperation(Function<? super I,? extends LongStream> function)
public LongStream perform(Stream<I> stream)
IntermediateOperationperform in interface IntermediateOperation<I,Stream<I>,Long,LongStream>stream - the stream to have the operation performed onpublic Function<? super I,? extends LongStream> getFunction()
Copyright © 2024 JBoss, a division of Red Hat. All rights reserved.