Uses of Interface
com.landawn.abacus.util.function.IntBiFunction
Package
Description
-
Uses of IntBiFunction in com.landawn.abacus.util
Modifier and TypeMethodDescriptionstatic IntBiFunction<MergeResult>
Fn.FnI.alternated()
Deprecated.Modifier and TypeMethodDescriptionstatic <T> Stream<T>
N.splitByCount
(int maxCount, int totalSize, boolean sizeSmallerFirst, IntBiFunction<? extends T> func) final int[] a = Array.rangeClosed(1, 7); splitByCount(5, 7, true, (fromIndex, toIndex) -> copyOfRange(a, fromIndex, toIndex)).forEach(Fn.println()); // [[1], [2], [3], [4, 5], [6, 7]] splitByCount(5, 7, false, (fromIndex, toIndex) -> copyOfRange(a, fromIndex, toIndex)).forEach(Fn.println()); // [[1, 2], [3, 4], [5], [6], [7]]
-
Uses of IntBiFunction in com.landawn.abacus.util.function
-
Uses of IntBiFunction in com.landawn.abacus.util.stream
Modifier and TypeMethodDescriptionstatic IntStream
IntStream.merge
(int[] a, int[] b, int[] c, IntBiFunction<MergeResult> nextSelector) static IntStream
IntStream.merge
(int[] a, int[] b, IntBiFunction<MergeResult> nextSelector) static IntStream
IntStream.merge
(IntIterator a, IntIterator b, IntBiFunction<MergeResult> nextSelector) static IntStream
IntStream.merge
(IntIterator a, IntIterator b, IntIterator c, IntBiFunction<MergeResult> nextSelector) IntStream.merge
(IntStream b, IntBiFunction<MergeResult> nextSelector) Deprecated.static IntStream
IntStream.merge
(IntStream a, IntStream b, IntBiFunction<MergeResult> nextSelector) static IntStream
IntStream.merge
(IntStream a, IntStream b, IntStream c, IntBiFunction<MergeResult> nextSelector) static IntStream
IntStream.merge
(Collection<? extends IntStream> c, IntBiFunction<MergeResult> nextSelector) abstract IntStream
IntStream.mergeWith
(IntStream b, IntBiFunction<MergeResult> nextSelector) static IntStream
IntStream.parallelMerge
(Collection<? extends IntStream> c, IntBiFunction<MergeResult> nextSelector) All the elements from each inputCollection/Iterator/Stream
will be merged into two queues by multiple threads.static IntStream
IntStream.parallelMerge
(Collection<? extends IntStream> c, IntBiFunction<MergeResult> nextSelector, int maxThreadNum) All the elements from each inputCollection/Iterator/Stream
will be merged into two queues by multiple threads.abstract <T> Stream<T>
IntStream.rangeMapToObj
(IntBiPredicate sameRange, IntBiFunction<? extends T> 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.static <R> Stream<R>
Stream.zip
(int[] a, int[] b, int valueForNoneA, int valueForNoneB, IntBiFunction<? extends R> zipFunction) Zip together the "a" and "b" iterators until all of them runs out of values.static <R> Stream<R>
Stream.zip
(int[] a, int[] b, IntBiFunction<? extends R> zipFunction) Zip together the "a" and "b" arrays until one of them runs out of values.static <R> Stream<R>
Stream.zip
(IntIterator a, IntIterator b, int valueForNoneA, int valueForNoneB, IntBiFunction<? extends R> zipFunction) Zip together the "a" and "b" iterators until all of them runs out of values.static <R> Stream<R>
Stream.zip
(IntIterator a, IntIterator b, IntBiFunction<? extends R> zipFunction) Zip together the "a" and "b" iterators until one of them runs out of values.static <R> Stream<R>
Stream.zip
(IntStream a, IntStream b, int valueForNoneA, int valueForNoneB, IntBiFunction<? extends R> zipFunction) Zip together the "a" and "b" iterators until all of them runs out of values.static <R> Stream<R>
Stream.zip
(IntStream a, IntStream b, IntBiFunction<? extends R> zipFunction) Zip together the "a" and "b" streams until one of them runs out of values.
mergeWith(IntStream, IntBiFunction)