Uses of Interface
com.landawn.abacus.util.function.LongBinaryOperator
-
Uses of LongBinaryOperator in com.landawn.abacus.util
Modifier and TypeFieldDescriptionstatic final LongBinaryOperator
Fn.FnL.LongBinaryOperators.MAX
static final LongBinaryOperator
Fn.FnL.LongBinaryOperators.MIN
-
Uses of LongBinaryOperator in com.landawn.abacus.util.stream
Modifier and TypeMethodDescriptionabstract 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) 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.abstract long
LongStream.reduce
(long identity, LongBinaryOperator op) abstract u.OptionalLong
LongStream.reduce
(LongBinaryOperator op) 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.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, 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, LongBinaryOperator zipFunction) Zip together the "a" and "b" 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, LongBinaryOperator zipFunction)