Class FlatMapIntOperation
- java.lang.Object
-
- org.infinispan.stream.impl.intops.primitive.i.FlatMapIntOperation
-
- All Implemented Interfaces:
FlatMappingOperation<Integer,IntStream,Integer,IntStream>
,IntermediateOperation<Integer,IntStream,Integer,IntStream>
,MappingOperation<Integer,IntStream,Integer,IntStream>
public class FlatMapIntOperation extends Object implements FlatMappingOperation<Integer,IntStream,Integer,IntStream>
Performs flat map operation on aIntStream
-
-
Constructor Summary
Constructors Constructor Description FlatMapIntOperation(IntFunction<? extends IntStream> function)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IntFunction<? extends IntStream>
getFunction()
Stream<IntStream>
map(IntStream intStream)
Instead of flat mapping this returns a stream ofFlatMappingOperation
.IntStream
perform(IntStream stream)
Performs the actualy intermediate operation returning the resulting stream-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.infinispan.stream.impl.intops.IntermediateOperation
handleInjection
-
-
-
-
Constructor Detail
-
FlatMapIntOperation
public FlatMapIntOperation(IntFunction<? extends IntStream> function)
-
-
Method Detail
-
perform
public IntStream perform(IntStream stream)
Description copied from interface:IntermediateOperation
Performs the actualy intermediate operation returning the resulting stream
-
getFunction
public IntFunction<? extends IntStream> getFunction()
-
map
public Stream<IntStream> map(IntStream intStream)
Description copied from interface:FlatMappingOperation
Instead of flat mapping this returns a stream ofFlatMappingOperation
.
-
-