I - the type of the input streampublic class MapToLongOperation<I> extends Object implements IntermediateOperation<I,Stream<I>,Long,LongStream>
Stream| Constructor and Description |
|---|
MapToLongOperation(ToLongFunction<? super I> function) |
| Modifier and Type | Method and Description |
|---|---|
ToLongFunction<? super I> |
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 MapToLongOperation(ToLongFunction<? super I> 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 ToLongFunction<? super I> getFunction()
Copyright © 2025 JBoss, a division of Red Hat. All rights reserved.