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