Package | Description |
---|---|
com.landawn.abacus.util | |
com.landawn.abacus.util.stream |
Modifier and Type | Method and Description |
---|---|
FloatStream |
FloatIterator.stream() |
FloatStream |
FloatList.stream() |
FloatStream |
FloatPair.stream() |
FloatStream |
FloatTriple.stream() |
FloatStream |
u.OptionalFloat.stream() |
FloatStream |
FloatList.stream(int fromIndex,
int toIndex) |
Modifier and Type | Class and Description |
---|---|
static class |
FloatStream.FloatStreamEx |
Modifier and Type | Method and Description |
---|---|
abstract FloatStream |
FloatStream.append(float... a) |
abstract FloatStream |
FloatStream.appendIfEmpty(float... a) |
abstract FloatStream |
IntStream.asFloatStream() |
abstract FloatStream |
LongStream.asFloatStream() |
abstract FloatStream |
FloatStream.collapse(FloatBiPredicate collapsible,
FloatBinaryOperator mergeFunction)
Merge series of adjacent elements which satisfy the given predicate using
the merger function and return a new stream.
|
static FloatStream |
FloatStream.concat(Collection<? extends FloatStream> c) |
static FloatStream |
FloatStream.concat(float[]... a) |
static FloatStream |
FloatStream.concat(FloatIterator... a) |
static FloatStream |
FloatStream.concat(FloatStream... a) |
static FloatStream |
FloatStream.empty() |
abstract FloatStream |
FloatStream.flatMap(FloatFunction<? extends FloatStream> mapper) |
abstract FloatStream |
DoubleStream.flatMapToFloat(DoubleFunction<? extends FloatStream> mapper) |
abstract FloatStream |
Stream.flatMapToFloat(Function<? super T,? extends FloatStream> mapper) |
abstract FloatStream |
IntStream.flatMapToFloat(IntFunction<? extends FloatStream> mapper) |
abstract FloatStream |
LongStream.flatMapToFloat(LongFunction<? extends FloatStream> mapper) |
static FloatStream |
FloatStream.flatten(float[][] a) |
static FloatStream |
FloatStream.flatten(float[][][] a) |
static FloatStream |
FloatStream.flatten(float[][] a,
boolean vertically) |
static FloatStream |
FloatStream.flatten(float[][] a,
float valueForNone,
boolean vertically) |
abstract FloatStream |
FloatStream.flattMap(FloatFunction<float[]> mapper) |
abstract FloatStream |
Stream.flattMapToFloat(Function<? super T,float[]> mapper) |
static FloatStream |
FloatStream.generate(FloatSupplier s) |
static FloatStream |
FloatStream.iterate(BooleanSupplier hasNext,
FloatSupplier next) |
static FloatStream |
FloatStream.iterate(float init,
BooleanSupplier hasNext,
FloatUnaryOperator f) |
static FloatStream |
FloatStream.iterate(float init,
FloatPredicate hasNext,
FloatUnaryOperator f) |
static FloatStream |
FloatStream.iterate(float init,
FloatUnaryOperator f) |
abstract FloatStream |
FloatStream.map(FloatUnaryOperator mapper) |
abstract FloatStream |
DoubleStream.mapToFloat(DoubleToFloatFunction mapper) |
abstract FloatStream |
IntStream.mapToFloat(IntToFloatFunction mapper) |
abstract FloatStream |
LongStream.mapToFloat(LongToFloatFunction mapper) |
abstract FloatStream |
Stream.mapToFloat(ToFloatFunction<? super T> mapper) |
static FloatStream |
FloatStream.merge(Collection<? extends FloatStream> c,
FloatBiFunction<MergeResult> nextSelector) |
static FloatStream |
FloatStream.merge(float[] a,
float[] b,
float[] c,
FloatBiFunction<MergeResult> nextSelector) |
static FloatStream |
FloatStream.merge(float[] a,
float[] b,
FloatBiFunction<MergeResult> nextSelector) |
static FloatStream |
FloatStream.merge(FloatIterator a,
FloatIterator b,
FloatBiFunction<MergeResult> nextSelector) |
static FloatStream |
FloatStream.merge(FloatIterator a,
FloatIterator b,
FloatIterator c,
FloatBiFunction<MergeResult> nextSelector) |
abstract FloatStream |
FloatStream.merge(FloatStream b,
FloatBiFunction<MergeResult> nextSelector) |
static FloatStream |
FloatStream.merge(FloatStream a,
FloatStream b,
FloatBiFunction<MergeResult> nextSelector) |
static FloatStream |
FloatStream.merge(FloatStream a,
FloatStream b,
FloatStream c,
FloatBiFunction<MergeResult> nextSelector) |
static FloatStream |
FloatStream.of(Collection<Float> c) |
static FloatStream |
FloatStream.of(float... a) |
static FloatStream |
FloatStream.of(Float[] a) |
static FloatStream |
FloatStream.of(float[] a,
int startIndex,
int endIndex) |
static FloatStream |
FloatStream.of(Float[] a,
int startIndex,
int endIndex) |
static FloatStream |
FloatStream.of(FloatIterator iterator) |
static FloatStream |
FloatStream.of(Supplier<FloatList> supplier)
Lazy evaluation.
|
static FloatStream |
FloatStream.parallelMerge(Collection<? extends FloatStream> c,
FloatBiFunction<MergeResult> nextSelector) |
static FloatStream |
FloatStream.parallelMerge(Collection<? extends FloatStream> c,
FloatBiFunction<MergeResult> nextSelector,
int maxThreadNum) |
abstract FloatStream |
FloatStream.prepend(float... a) |
static FloatStream |
FloatStream.random() |
abstract FloatStream |
FloatStream.rangeMap(FloatBiPredicate sameRange,
FloatBinaryOperator 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 FloatStream |
FloatStream.repeat(float element,
long n) |
abstract FloatStream |
FloatStream.scan(FloatBinaryOperator accumulator)
Returns a
Stream produced by iterative application of a accumulation function
to an initial element init and next element of the current stream. |
abstract FloatStream |
FloatStream.scan(float init,
FloatBinaryOperator accumulator)
Returns a
Stream produced by iterative application of a accumulation function
to an initial element init and next element of the current stream. |
abstract FloatStream |
FloatStream.scan(float init,
FloatBinaryOperator accumulator,
boolean initIncluded) |
FloatStream |
FloatStream.skipUntil(FloatPredicate predicate) |
abstract FloatStream |
FloatStream.top(int n)
This method only run sequentially, even in parallel stream. |
abstract FloatStream |
FloatStream.top(int n,
Comparator<? super Float> comparator)
This method only run sequentially, even in parallel stream. |
static FloatStream |
FloatStream.zip(Collection<? extends FloatStream> c,
float[] valuesForNone,
FloatNFunction<Float> zipFunction)
Zip together the iterators until all of them runs out of values.
|
static FloatStream |
FloatStream.zip(Collection<? extends FloatStream> c,
FloatNFunction<Float> zipFunction)
Zip together the iterators until one of them runs out of values.
|
static FloatStream |
FloatStream.zip(float[] a,
float[] b,
float[] c,
float valueForNoneA,
float valueForNoneB,
float valueForNoneC,
FloatTernaryOperator zipFunction)
Zip together the "a", "b" and "c" iterators until all of them runs out of values.
|
static FloatStream |
FloatStream.zip(float[] a,
float[] b,
float[] c,
FloatTernaryOperator zipFunction)
Zip together the "a", "b" and "c" arrays until one of them runs out of values.
|
static FloatStream |
FloatStream.zip(float[] a,
float[] b,
FloatBinaryOperator zipFunction)
Zip together the "a" and "b" arrays until one of them runs out of values.
|
static FloatStream |
FloatStream.zip(float[] a,
float[] b,
float valueForNoneA,
float valueForNoneB,
FloatBinaryOperator zipFunction)
Zip together the "a" and "b" iterators until all of them runs out of values.
|
static FloatStream |
FloatStream.zip(FloatIterator a,
FloatIterator b,
FloatBinaryOperator zipFunction)
Zip together the "a" and "b" iterators until one of them runs out of values.
|
static FloatStream |
FloatStream.zip(FloatIterator a,
FloatIterator b,
float valueForNoneA,
float valueForNoneB,
FloatBinaryOperator zipFunction)
Zip together the "a" and "b" iterators until all of them runs out of values.
|
static FloatStream |
FloatStream.zip(FloatIterator a,
FloatIterator b,
FloatIterator c,
float valueForNoneA,
float valueForNoneB,
float valueForNoneC,
FloatTernaryOperator zipFunction)
Zip together the "a", "b" and "c" iterators until all of them runs out of values.
|
static FloatStream |
FloatStream.zip(FloatIterator a,
FloatIterator b,
FloatIterator c,
FloatTernaryOperator zipFunction)
Zip together the "a", "b" and "c" iterators until one of them runs out of values.
|
static FloatStream |
FloatStream.zip(FloatStream a,
FloatStream b,
FloatBinaryOperator zipFunction)
Zip together the "a" and "b" streams until one of them runs out of values.
|
static FloatStream |
FloatStream.zip(FloatStream a,
FloatStream b,
float valueForNoneA,
float valueForNoneB,
FloatBinaryOperator zipFunction)
Zip together the "a" and "b" iterators until all of them runs out of values.
|
static FloatStream |
FloatStream.zip(FloatStream a,
FloatStream b,
FloatStream c,
float valueForNoneA,
float valueForNoneB,
float valueForNoneC,
FloatTernaryOperator zipFunction)
Zip together the "a", "b" and "c" iterators until all of them runs out of values.
|
static FloatStream |
FloatStream.zip(FloatStream a,
FloatStream b,
FloatStream c,
FloatTernaryOperator zipFunction)
Zip together the "a", "b" and "c" streams until one of them runs out of values.
|
abstract FloatStream |
FloatStream.zipWith(FloatStream b,
FloatBinaryOperator zipFunction) |
abstract FloatStream |
FloatStream.zipWith(FloatStream b,
float valueForNoneA,
float valueForNoneB,
FloatBinaryOperator zipFunction) |
abstract FloatStream |
FloatStream.zipWith(FloatStream b,
FloatStream c,
float valueForNoneA,
float valueForNoneB,
float valueForNoneC,
FloatTernaryOperator zipFunction) |
abstract FloatStream |
FloatStream.zipWith(FloatStream b,
FloatStream c,
FloatTernaryOperator zipFunction) |
Modifier and Type | Method and Description |
---|---|
static FloatStream |
FloatStream.concat(FloatStream... a) |
abstract FloatStream |
FloatStream.merge(FloatStream b,
FloatBiFunction<MergeResult> nextSelector) |
static FloatStream |
FloatStream.merge(FloatStream a,
FloatStream b,
FloatBiFunction<MergeResult> nextSelector) |
static FloatStream |
FloatStream.merge(FloatStream a,
FloatStream b,
FloatStream c,
FloatBiFunction<MergeResult> nextSelector) |
static <R> Stream<R> |
Stream.zip(FloatStream a,
FloatStream b,
FloatBiFunction<R> zipFunction)
Zip together the "a" and "b" streams until one of them runs out of values.
|
static FloatStream |
FloatStream.zip(FloatStream a,
FloatStream b,
FloatBinaryOperator zipFunction)
Zip together the "a" and "b" streams until one of them runs out of values.
|
static <R> Stream<R> |
Stream.zip(FloatStream a,
FloatStream b,
float valueForNoneA,
float valueForNoneB,
FloatBiFunction<R> zipFunction)
Zip together the "a" and "b" iterators until all of them runs out of values.
|
static FloatStream |
FloatStream.zip(FloatStream a,
FloatStream b,
float valueForNoneA,
float valueForNoneB,
FloatBinaryOperator zipFunction)
Zip together the "a" and "b" iterators until all of them runs out of values.
|
static FloatStream |
FloatStream.zip(FloatStream a,
FloatStream b,
FloatStream c,
float valueForNoneA,
float valueForNoneB,
float valueForNoneC,
FloatTernaryOperator zipFunction)
Zip together the "a", "b" and "c" iterators until all of them runs out of values.
|
static <R> Stream<R> |
Stream.zip(FloatStream a,
FloatStream b,
FloatStream c,
float valueForNoneA,
float valueForNoneB,
float valueForNoneC,
FloatTriFunction<R> zipFunction)
Zip together the "a", "b" and "c" iterators until all of them runs out of values.
|
static FloatStream |
FloatStream.zip(FloatStream a,
FloatStream b,
FloatStream c,
FloatTernaryOperator zipFunction)
Zip together the "a", "b" and "c" streams until one of them runs out of values.
|
static <R> Stream<R> |
Stream.zip(FloatStream a,
FloatStream b,
FloatStream c,
FloatTriFunction<R> zipFunction)
Zip together the "a", "b" and "c" streams until one of them runs out of values.
|
abstract FloatStream |
FloatStream.zipWith(FloatStream b,
FloatBinaryOperator zipFunction) |
abstract FloatStream |
FloatStream.zipWith(FloatStream b,
float valueForNoneA,
float valueForNoneB,
FloatBinaryOperator zipFunction) |
abstract FloatStream |
FloatStream.zipWith(FloatStream b,
FloatStream c,
float valueForNoneA,
float valueForNoneB,
float valueForNoneC,
FloatTernaryOperator zipFunction) |
abstract FloatStream |
FloatStream.zipWith(FloatStream b,
FloatStream c,
FloatTernaryOperator zipFunction) |
Modifier and Type | Method and Description |
---|---|
<SS extends BaseStream> |
FloatStream.__(Function<? super FloatStream,SS> transfer) |
static FloatStream |
FloatStream.concat(Collection<? extends FloatStream> c) |
abstract FloatStream |
FloatStream.flatMap(FloatFunction<? extends FloatStream> mapper) |
abstract FloatStream |
DoubleStream.flatMapToFloat(DoubleFunction<? extends FloatStream> mapper) |
abstract FloatStream |
Stream.flatMapToFloat(Function<? super T,? extends FloatStream> mapper) |
abstract FloatStream |
IntStream.flatMapToFloat(IntFunction<? extends FloatStream> mapper) |
abstract FloatStream |
LongStream.flatMapToFloat(LongFunction<? extends FloatStream> mapper) |
static FloatStream |
FloatStream.merge(Collection<? extends FloatStream> c,
FloatBiFunction<MergeResult> nextSelector) |
static FloatStream |
FloatStream.parallelMerge(Collection<? extends FloatStream> c,
FloatBiFunction<MergeResult> nextSelector) |
static FloatStream |
FloatStream.parallelMerge(Collection<? extends FloatStream> c,
FloatBiFunction<MergeResult> nextSelector,
int maxThreadNum) |
static FloatStream |
FloatStream.zip(Collection<? extends FloatStream> c,
float[] valuesForNone,
FloatNFunction<Float> zipFunction)
Zip together the iterators until all of them runs out of values.
|
static <R> Stream<R> |
Stream.zip(Collection<? extends FloatStream> c,
float[] valuesForNone,
FloatNFunction<R> zipFunction)
Zip together the iterators until all of them runs out of values.
|
static FloatStream |
FloatStream.zip(Collection<? extends FloatStream> c,
FloatNFunction<Float> zipFunction)
Zip together the iterators until one of them runs out of values.
|
static <R> Stream<R> |
Stream.zip(Collection<? extends FloatStream> c,
FloatNFunction<R> zipFunction)
Zip together the iterators until one of them runs out of values.
|
Copyright © 2020. All rights reserved.