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