public class LocalLongCacheStream extends AbstractLocalCacheStream<Long,LongStream> implements LongStream
AbstractLocalCacheStream.StreamSupplier<R>LongStream.BuilderintermediateOperations, keysToFilter, log, onCloseRunnables, parallel, registry, segmentsToFilter, streamSupplier| Constructor and Description |
|---|
LocalLongCacheStream(AbstractLocalCacheStream.StreamSupplier streamSupplier,
boolean parallel,
ComponentRegistry registry) |
close, createStream, isParallel, onClose, parallel, sequential, unorderedclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitbuilder, concat, empty, generate, iterate, of, of, parallel, range, rangeClosed, sequentialclose, isParallel, onClose, unorderedpublic LocalLongCacheStream(AbstractLocalCacheStream.StreamSupplier streamSupplier, boolean parallel, ComponentRegistry registry)
streamSupplier - parallel - registry - public LongStream filter(LongPredicate predicate)
filter in interface LongStreampublic LongStream map(LongUnaryOperator mapper)
map in interface LongStreampublic <U> Stream<U> mapToObj(LongFunction<? extends U> mapper)
mapToObj in interface LongStreampublic IntStream mapToInt(LongToIntFunction mapper)
mapToInt in interface LongStreampublic DoubleStream mapToDouble(LongToDoubleFunction mapper)
mapToDouble in interface LongStreampublic LongStream flatMap(LongFunction<? extends LongStream> mapper)
flatMap in interface LongStreampublic LongStream distinct()
distinct in interface LongStreampublic LongStream sorted()
sorted in interface LongStreampublic LongStream peek(LongConsumer action)
peek in interface LongStreampublic LongStream limit(long maxSize)
limit in interface LongStreampublic LongStream skip(long n)
skip in interface LongStreampublic void forEach(LongConsumer action)
forEach in interface LongStreampublic void forEachOrdered(LongConsumer action)
forEachOrdered in interface LongStreampublic long[] toArray()
toArray in interface LongStreampublic long reduce(long identity,
LongBinaryOperator op)
reduce in interface LongStreampublic OptionalLong reduce(LongBinaryOperator op)
reduce in interface LongStreampublic <R> R collect(Supplier<R> supplier, ObjLongConsumer<R> accumulator, BiConsumer<R,R> combiner)
collect in interface LongStreampublic long sum()
sum in interface LongStreampublic OptionalLong min()
min in interface LongStreampublic OptionalLong max()
max in interface LongStreampublic long count()
count in interface LongStreampublic OptionalDouble average()
average in interface LongStreampublic LongSummaryStatistics summaryStatistics()
summaryStatistics in interface LongStreampublic boolean anyMatch(LongPredicate predicate)
anyMatch in interface LongStreampublic boolean allMatch(LongPredicate predicate)
allMatch in interface LongStreampublic boolean noneMatch(LongPredicate predicate)
noneMatch in interface LongStreampublic OptionalLong findFirst()
findFirst in interface LongStreampublic OptionalLong findAny()
findAny in interface LongStreampublic DoubleStream asDoubleStream()
asDoubleStream in interface LongStreampublic Stream<Long> boxed()
boxed in interface LongStreampublic PrimitiveIterator.OfLong iterator()
iterator in interface BaseStream<Long,LongStream>iterator in interface LongStreampublic Spliterator.OfLong spliterator()
spliterator in interface BaseStream<Long,LongStream>spliterator in interface LongStreamCopyright © 2024 JBoss, a division of Red Hat. All rights reserved.