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, waithandleInjectionpublic LongStream perform(LongStream stream)
IntermediateOperationperform in interface IntermediateOperation<Long,LongStream,Long,LongStream>stream - the stream to have the operation performed onpublic long getLimit()
Copyright © 2024 JBoss, a division of Red Hat. All rights reserved.