I
- the type of the input streampublic class MapToIntOperation<I> extends Object implements IntermediateOperation<I,Stream<I>,Integer,IntStream>
Stream
Constructor and Description |
---|
MapToIntOperation(ToIntFunction<? super I> function) |
Modifier and Type | Method and Description |
---|---|
ToIntFunction<? super I> |
getFunction() |
IntStream |
perform(Stream<I> stream)
Performs the actualy intermediate operation returning the resulting stream
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
handleInjection
public MapToIntOperation(ToIntFunction<? super I> function)
public IntStream perform(Stream<I> stream)
IntermediateOperation
public ToIntFunction<? super I> getFunction()
Copyright © 2024 JBoss, a division of Red Hat. All rights reserved.