Uses of Class
com.landawn.abacus.util.stream.LongStream
Packages that use LongStream
-
Uses of LongStream in com.landawn.abacus.util
Methods in com.landawn.abacus.util that return LongStream -
Uses of LongStream in com.landawn.abacus.util.stream
Subclasses of LongStream in com.landawn.abacus.util.streamMethods in com.landawn.abacus.util.stream that return LongStreamModifier and TypeMethodDescriptionabstract LongStream
LongStream.append
(long... a) abstract LongStream
LongStream.appendIfEmpty
(long... a) abstract LongStream
IntStream.asLongStream()
abstract LongStream
LongStream.collapse
(LongBiPredicate collapsible, LongBinaryOperator mergeFunction) Merge series of adjacent elements which satisfy the given predicate using the merger function and return a new stream.abstract LongStream
LongStream.collapse
(LongTriPredicate collapsible, LongBinaryOperator mergeFunction) static LongStream
LongStream.concat
(long[]... a) static LongStream
LongStream.concat
(LongIterator... a) static LongStream
LongStream.concat
(LongStream... a) static LongStream
LongStream.concat
(Collection<? extends LongStream> c) static LongStream
static LongStream
LongStream.concatIterators
(Collection<? extends LongIterator> c) static LongStream
LongStream.defer
(Supplier<LongStream> supplier) Lazy evaluation.static LongStream
LongStream.empty()
abstract LongStream
LongStream.flatmap
(LongFunction<long[]> mapper) abstract LongStream
LongStream.flatMap
(LongFunction<? extends LongStream> mapper) abstract LongStream
Stream.flatmapToLong
(Function<? super T, long[]> mapper) abstract LongStream
DoubleStream.flatMapToLong
(DoubleFunction<? extends LongStream> mapper) abstract LongStream
FloatStream.flatMapToLong
(FloatFunction<? extends LongStream> mapper) abstract LongStream
IntStream.flatMapToLong
(IntFunction<? extends LongStream> mapper) abstract LongStream
Stream.flatMapToLong
(Function<? super T, ? extends LongStream> mapper) static LongStream
LongStream.flatten
(long[][] a) static LongStream
LongStream.flatten
(long[][][] a) static LongStream
LongStream.flatten
(long[][] a, boolean vertically) static LongStream
LongStream.flatten
(long[][] a, long valueForNone, boolean vertically) static LongStream
LongStream.generate
(LongSupplier s) static LongStream
LongStream.interval
(long intervalInMillis) static LongStream
LongStream.interval
(long delayInMillis, long intervalInMillis) Generates the long value by the specified period: [0, 1, 2, 3...]static LongStream
Generates the long value by the specified period: [0, 1, 2, 3...]static LongStream
LongStream.iterate
(long init, BooleanSupplier hasNext, LongUnaryOperator f) static LongStream
LongStream.iterate
(long init, LongPredicate hasNext, LongUnaryOperator f) static LongStream
LongStream.iterate
(long init, LongUnaryOperator f) static LongStream
LongStream.iterate
(BooleanSupplier hasNext, LongSupplier next) abstract LongStream
LongStream.map
(LongUnaryOperator mapper) abstract LongStream
LongStream.mapMulti
(LongMapMultiConsumer mapper) abstract LongStream
Stream.mapMultiToLong
(BiConsumer<? super T, ? super LongConsumer> mapper) abstract LongStream
LongStream.mapPartial
(LongFunction<u.OptionalLong> mapper) Note: copied from StreamEx: https://github.com/amaembo/streamexabstract LongStream
LongStream.mapPartialJdk
(LongFunction<OptionalLong> mapper) Note: copied from StreamEx: https://github.com/amaembo/streamexabstract LongStream
Stream.mapPartialToLong
(Function<? super T, u.OptionalLong> mapper) Note: copied from StreamEx: https://github.com/amaembo/streamexabstract LongStream
Stream.mapPartialToLongJdk
(Function<? super T, OptionalLong> mapper) Note: copied from StreamEx: https://github.com/amaembo/streamexabstract LongStream
DoubleStream.mapToLong
(DoubleToLongFunction mapper) abstract LongStream
FloatStream.mapToLong
(FloatToLongFunction mapper) abstract LongStream
IntStream.mapToLong
(IntToLongFunction mapper) abstract LongStream
Stream.mapToLong
(ToLongFunction<? super T> mapper) static LongStream
LongStream.merge
(long[] a, long[] b, long[] c, LongBiFunction<MergeResult> nextSelector) static LongStream
LongStream.merge
(long[] a, long[] b, LongBiFunction<MergeResult> nextSelector) static LongStream
LongStream.merge
(LongIterator a, LongIterator b, LongBiFunction<MergeResult> nextSelector) static LongStream
LongStream.merge
(LongIterator a, LongIterator b, LongIterator c, LongBiFunction<MergeResult> nextSelector) static LongStream
LongStream.merge
(LongStream a, LongStream b, LongBiFunction<MergeResult> nextSelector) static LongStream
LongStream.merge
(LongStream a, LongStream b, LongStream c, LongBiFunction<MergeResult> nextSelector) static LongStream
LongStream.merge
(Collection<? extends LongStream> c, LongBiFunction<MergeResult> nextSelector) abstract LongStream
LongStream.mergeWith
(LongStream b, LongBiFunction<MergeResult> nextSelector) static LongStream
LongStream.of
(long... a) static LongStream
LongStream.of
(long[] a, int startIndex, int endIndex) static LongStream
LongStream.of
(LongIterator iterator) static LongStream
LongStream.of
(u.OptionalLong op) static LongStream
static LongStream
static LongStream
LongStream.of
(LongBuffer buf) static LongStream
LongStream.of
(Collection<Long> c) static LongStream
LongStream.of
(OptionalLong op) static LongStream
LongStream.of
(LongStream stream) static LongStream
LongStream.ofNullable
(Long e) static LongStream
LongStream.parallelMerge
(Collection<? extends LongStream> c, LongBiFunction<MergeResult> nextSelector) All the elements from each inputCollection/Iterator/Stream
will be merged into two queues by multiple threads.static LongStream
LongStream.parallelMerge
(Collection<? extends LongStream> c, LongBiFunction<MergeResult> nextSelector, int maxThreadNum) All the elements from each inputCollection/Iterator/Stream
will be merged into two queues by multiple threads.abstract LongStream
LongStream.prepend
(long... a) static LongStream
LongStream.random()
static LongStream
LongStream.range
(long startInclusive, long endExclusive) static LongStream
LongStream.range
(long startInclusive, long endExclusive, long by) static LongStream
LongStream.rangeClosed
(long startInclusive, long endInclusive) static LongStream
LongStream.rangeClosed
(long startInclusive, long endInclusive, long by) abstract LongStream
LongStream.rangeMap
(LongBiPredicate sameRange, LongBinaryOperator mapper) Note: copied from StreamEx: https://github.com/amaembo/streamex
Returns a stream consisting of results of applying the given function to the ranges created from the source elements.LongStream.rateLimited
(RateLimiter rateLimiter) static LongStream
LongStream.repeat
(long element, long n) abstract LongStream
LongStream.scan
(long init, LongBinaryOperator accumulator) Returns aStream
produced by iterative application of a accumulation function to an initial elementinit
and next element of the current stream.abstract LongStream
LongStream.scan
(long init, LongBinaryOperator accumulator, boolean initIncluded) abstract LongStream
LongStream.scan
(LongBinaryOperator accumulator) Returns aStream
produced by iterative application of a accumulation function to an initial elementinit
and next element of the current stream.LongStream.skipUntil
(LongPredicate predicate) abstract LongStream
LongStream.top
(int n)
This method only runs sequentially, even in parallel stream.abstract LongStream
LongStream.top
(int n, Comparator<? super Long> comparator)
This method only runs sequentially, even in parallel stream.static LongStream
LongStream.zip
(long[] a, long[] b, long[] c, long valueForNoneA, long valueForNoneB, long valueForNoneC, LongTernaryOperator zipFunction) Zip together the "a", "b" and "c" iterators until all of them runs out of values.static LongStream
LongStream.zip
(long[] a, long[] b, long[] c, LongTernaryOperator zipFunction) Zip together the "a", "b" and "c" arrays until one of them runs out of values.static LongStream
LongStream.zip
(long[] a, long[] b, long valueForNoneA, long valueForNoneB, LongBinaryOperator zipFunction) Zip together the "a" and "b" iterators until all of them runs out of values.static LongStream
LongStream.zip
(long[] a, long[] b, LongBinaryOperator zipFunction) Zip together the "a" and "b" arrays until one of them runs out of values.static LongStream
LongStream.zip
(LongIterator a, LongIterator b, long valueForNoneA, long valueForNoneB, LongBinaryOperator zipFunction) Zip together the "a" and "b" iterators until all of them runs out of values.static LongStream
LongStream.zip
(LongIterator a, LongIterator b, LongIterator c, long valueForNoneA, long valueForNoneB, long valueForNoneC, LongTernaryOperator zipFunction) Zip together the "a", "b" and "c" iterators until all of them runs out of values.static LongStream
LongStream.zip
(LongIterator a, LongIterator b, LongIterator c, LongTernaryOperator zipFunction) Zip together the "a", "b" and "c" iterators until one of them runs out of values.static LongStream
LongStream.zip
(LongIterator a, LongIterator b, LongBinaryOperator zipFunction) Zip together the "a" and "b" iterators until one of them runs out of values.static LongStream
LongStream.zip
(LongStream a, LongStream b, long valueForNoneA, long valueForNoneB, LongBinaryOperator zipFunction) Zip together the "a" and "b" iterators until all of them runs out of values.static LongStream
LongStream.zip
(LongStream a, LongStream b, LongStream c, long valueForNoneA, long valueForNoneB, long valueForNoneC, LongTernaryOperator zipFunction) Zip together the "a", "b" and "c" iterators until all of them runs out of values.static LongStream
LongStream.zip
(LongStream a, LongStream b, LongStream c, LongTernaryOperator zipFunction) Zip together the "a", "b" and "c" streams until one of them runs out of values.static LongStream
LongStream.zip
(LongStream a, LongStream b, LongBinaryOperator zipFunction) Zip together the "a" and "b" streams until one of them runs out of values.static LongStream
LongStream.zip
(Collection<? extends LongStream> c, long[] valuesForNone, LongNFunction<Long> zipFunction) Zip together the iterators until all of them runs out of values.static LongStream
LongStream.zip
(Collection<? extends LongStream> c, LongNFunction<Long> zipFunction) Zip together the iterators until one of them runs out of values.abstract LongStream
LongStream.zipWith
(LongStream b, long valueForNoneA, long valueForNoneB, LongBinaryOperator zipFunction) abstract LongStream
LongStream.zipWith
(LongStream b, LongStream c, long valueForNoneA, long valueForNoneB, long valueForNoneC, LongTernaryOperator zipFunction) abstract LongStream
LongStream.zipWith
(LongStream b, LongStream c, LongTernaryOperator zipFunction) abstract LongStream
LongStream.zipWith
(LongStream b, LongBinaryOperator zipFunction) Methods in com.landawn.abacus.util.stream with parameters of type LongStreamModifier and TypeMethodDescriptionstatic LongStream
LongStream.concat
(LongStream... a) static LongStream
LongStream.merge
(LongStream a, LongStream b, LongBiFunction<MergeResult> nextSelector) static LongStream
LongStream.merge
(LongStream a, LongStream b, LongStream c, LongBiFunction<MergeResult> nextSelector) abstract LongStream
LongStream.mergeWith
(LongStream b, LongBiFunction<MergeResult> nextSelector) static LongStream
LongStream.zip
(LongStream a, LongStream b, long valueForNoneA, long valueForNoneB, LongBinaryOperator zipFunction) Zip together the "a" and "b" iterators until all of them runs out of values.static LongStream
LongStream.zip
(LongStream a, LongStream b, LongStream c, long valueForNoneA, long valueForNoneB, long valueForNoneC, LongTernaryOperator zipFunction) Zip together the "a", "b" and "c" iterators until all of them runs out of values.static LongStream
LongStream.zip
(LongStream a, LongStream b, LongStream c, LongTernaryOperator zipFunction) Zip together the "a", "b" and "c" streams until one of them runs out of values.static LongStream
LongStream.zip
(LongStream a, LongStream b, LongBinaryOperator zipFunction) Zip together the "a" and "b" streams until one of them runs out of values.static <R> Stream<R>
Stream.zip
(LongStream a, LongStream b, long valueForNoneA, long valueForNoneB, LongBiFunction<? extends R> zipFunction) Zip together the "a" and "b" iterators until all of them runs out of values.static <R> Stream<R>
Stream.zip
(LongStream a, LongStream b, LongBiFunction<? extends R> zipFunction) Zip together the "a" and "b" streams until one of them runs out of values.static <R> Stream<R>
Stream.zip
(LongStream a, LongStream b, LongStream c, long valueForNoneA, long valueForNoneB, long valueForNoneC, LongTriFunction<? extends R> zipFunction) Zip together the "a", "b" and "c" iterators until all of them runs out of values.static <R> Stream<R>
Stream.zip
(LongStream a, LongStream b, LongStream c, LongTriFunction<? extends R> zipFunction) Zip together the "a", "b" and "c" streams until one of them runs out of values.abstract LongStream
LongStream.zipWith
(LongStream b, long valueForNoneA, long valueForNoneB, LongBinaryOperator zipFunction) abstract LongStream
LongStream.zipWith
(LongStream b, LongStream c, long valueForNoneA, long valueForNoneB, long valueForNoneC, LongTernaryOperator zipFunction) abstract LongStream
LongStream.zipWith
(LongStream b, LongStream c, LongTernaryOperator zipFunction) abstract LongStream
LongStream.zipWith
(LongStream b, LongBinaryOperator zipFunction) Method parameters in com.landawn.abacus.util.stream with type arguments of type LongStreamModifier and TypeMethodDescriptionstatic LongStream
LongStream.concat
(Collection<? extends LongStream> c) static LongStream
LongStream.defer
(Supplier<LongStream> supplier) Lazy evaluation.abstract LongStream
LongStream.flatMap
(LongFunction<? extends LongStream> mapper) abstract LongStream
DoubleStream.flatMapToLong
(DoubleFunction<? extends LongStream> mapper) abstract LongStream
FloatStream.flatMapToLong
(FloatFunction<? extends LongStream> mapper) abstract LongStream
IntStream.flatMapToLong
(IntFunction<? extends LongStream> mapper) abstract LongStream
Stream.flatMapToLong
(Function<? super T, ? extends LongStream> mapper) static LongStream
LongStream.merge
(Collection<? extends LongStream> c, LongBiFunction<MergeResult> nextSelector) static LongStream
LongStream.parallelMerge
(Collection<? extends LongStream> c, LongBiFunction<MergeResult> nextSelector) All the elements from each inputCollection/Iterator/Stream
will be merged into two queues by multiple threads.static LongStream
LongStream.parallelMerge
(Collection<? extends LongStream> c, LongBiFunction<MergeResult> nextSelector, int maxThreadNum) All the elements from each inputCollection/Iterator/Stream
will be merged into two queues by multiple threads.static LongStream
LongStream.zip
(Collection<? extends LongStream> c, long[] valuesForNone, LongNFunction<Long> zipFunction) Zip together the iterators until all of them runs out of values.static LongStream
LongStream.zip
(Collection<? extends LongStream> c, LongNFunction<Long> zipFunction) Zip together the iterators until one of them runs out of values.static <R> Stream<R>
Stream.zip
(Collection<? extends LongStream> c, long[] valuesForNone, LongNFunction<? extends R> zipFunction) Zip together the iterators until all of them runs out of values.static <R> Stream<R>
Stream.zip
(Collection<? extends LongStream> c, LongNFunction<? extends R> zipFunction) Zip together the iterators until one of them runs out of values.