public class LimitDoubleOperation extends Object implements IntermediateOperation<Double,DoubleStream,Double,DoubleStream>
DoubleStream
Constructor and Description |
---|
LimitDoubleOperation(long limit) |
Modifier and Type | Method and Description |
---|---|
long |
getLimit() |
DoubleStream |
perform(DoubleStream stream)
Performs the actualy intermediate operation returning the resulting stream
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
handleInjection
public DoubleStream perform(DoubleStream stream)
IntermediateOperation
perform
in interface IntermediateOperation<Double,DoubleStream,Double,DoubleStream>
stream
- the stream to have the operation performed onpublic long getLimit()
Copyright © 2018 JBoss, a division of Red Hat. All rights reserved.