Package | Description |
---|---|
com.landawn.abacus.util | |
com.landawn.abacus.util.stream |
Modifier and Type | Method and Description |
---|---|
FloatStream |
FloatList.stream() |
FloatStream |
OptionalFloat.stream() |
FloatStream |
FloatList.stream(int fromIndex,
int toIndex) |
FloatStream |
FloatMatrix.streamH() |
FloatStream |
FloatMatrix.streamH(int rowIndex) |
FloatStream |
FloatMatrix.streamH(int fromRowIndex,
int toRowIndex) |
FloatStream |
FloatMatrix.streamLU2RD() |
FloatStream |
FloatMatrix.streamRU2LD() |
FloatStream |
FloatMatrix.streamV() |
FloatStream |
FloatMatrix.streamV(int columnIndex) |
FloatStream |
FloatMatrix.streamV(int fromColumnIndex,
int toColumnIndex) |
Modifier and Type | Method and Description |
---|---|
Stream<FloatStream> |
FloatMatrix.streamC() |
Stream<FloatStream> |
FloatMatrix.streamC(int fromColumnIndex,
int toColumnIndex) |
Stream<FloatStream> |
FloatMatrix.streamR() |
Stream<FloatStream> |
FloatMatrix.streamR(int fromRowIndex,
int toRowIndex) |
Modifier and Type | Method and Description |
---|---|
abstract FloatStream |
IntStream.asFloatStream()
Returns a
FloatStream consisting of the elements of this stream,
converted to double . |
abstract FloatStream |
LongStream.asFloatStream()
Returns a
FloatStream consisting of the elements of this stream,
converted to double . |
abstract FloatStream |
FloatStream.collapse(FloatBiPredicate collapsible,
FloatBiFunction<java.lang.Float> mergeFunction)
Merge series of adjacent elements which satisfy the given predicate using
the merger function and return a new stream.
|
static FloatStream |
FloatStream.concat(java.util.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.flatArray(FloatFunction<float[]> mapper) |
abstract FloatStream |
FloatStream.flatMap(FloatFunction<? extends FloatStream> mapper)
Returns a stream consisting of the results of replacing each element of
this stream with the contents of a mapped stream produced by applying
the provided mapping function to each element.
|
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.generate(FloatSupplier s) |
abstract FloatStream |
FloatStream.head2()
Head2 and tail2 should be used by pair.
|
static FloatStream |
FloatStream.iterate(float seed,
FloatPredicate hasNext,
FloatUnaryOperator f) |
static FloatStream |
FloatStream.iterate(float seed,
FloatUnaryOperator f) |
static FloatStream |
FloatStream.iterate(float seed,
Supplier<java.lang.Boolean> hasNext,
FloatUnaryOperator f) |
static FloatStream |
FloatStream.iterate(Supplier<java.lang.Boolean> hasNext,
FloatSupplier next) |
abstract FloatStream |
FloatStream.map(FloatUnaryOperator mapper)
Returns a stream consisting of the results of applying the given
function to the elements of this stream.
|
abstract FloatStream |
DoubleStream.mapToFloat(DoubleToFloatFunction mapper)
Returns a
FloatStream consisting of the results of applying the
given function to the elements of this stream. |
abstract FloatStream |
IntStream.mapToFloat(IntToFloatFunction mapper)
Returns a
FloatStream consisting of the results of applying the
given function to the elements of this stream. |
abstract FloatStream |
LongStream.mapToFloat(LongToFloatFunction mapper)
Returns a
FloatStream consisting of the results of applying the
given function to the elements of this stream. |
abstract FloatStream |
Stream.mapToFloat(ToFloatFunction<? super T> mapper) |
static FloatStream |
FloatStream.merge(java.util.Collection<? extends FloatStream> c,
FloatBiFunction<com.landawn.abacus.util.Nth> nextSelector) |
static FloatStream |
FloatStream.merge(float[] a,
float[] b,
float[] c,
FloatBiFunction<com.landawn.abacus.util.Nth> nextSelector) |
static FloatStream |
FloatStream.merge(float[] a,
float[] b,
FloatBiFunction<com.landawn.abacus.util.Nth> nextSelector) |
static FloatStream |
FloatStream.merge(FloatIterator a,
FloatIterator b,
FloatBiFunction<com.landawn.abacus.util.Nth> nextSelector) |
static FloatStream |
FloatStream.merge(FloatIterator a,
FloatIterator b,
FloatIterator c,
FloatBiFunction<com.landawn.abacus.util.Nth> nextSelector) |
abstract FloatStream |
FloatStream.merge(FloatStream b,
FloatBiFunction<com.landawn.abacus.util.Nth> nextSelector) |
static FloatStream |
FloatStream.merge(FloatStream a,
FloatStream b,
FloatBiFunction<com.landawn.abacus.util.Nth> nextSelector) |
static FloatStream |
FloatStream.merge(FloatStream a,
FloatStream b,
FloatStream c,
FloatBiFunction<com.landawn.abacus.util.Nth> nextSelector) |
static FloatStream |
FloatStream.of(float... a) |
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(FloatIterator iterator) |
static FloatStream |
FloatStream.of(Supplier<FloatList> supplier)
Lazy evaluation.
|
static FloatStream |
FloatStream.parallelMerge(java.util.Collection<? extends FloatStream> c,
FloatBiFunction<com.landawn.abacus.util.Nth> nextSelector) |
static FloatStream |
FloatStream.parallelMerge(java.util.Collection<? extends FloatStream> c,
FloatBiFunction<com.landawn.abacus.util.Nth> nextSelector,
int maxThreadNum) |
static FloatStream |
FloatStream.random() |
static FloatStream |
FloatStream.repeat(float element,
long n) |
abstract FloatStream |
FloatStream.scan(FloatBiFunction<java.lang.Float> accumulator)
Returns a
Stream produced by iterative application of a accumulation function
to an initial element seed and next element of the current stream. |
abstract FloatStream |
FloatStream.scan(float seed,
FloatBiFunction<java.lang.Float> accumulator)
Returns a
Stream produced by iterative application of a accumulation function
to an initial element seed and next element of the current stream. |
abstract FloatStream |
FloatStream.tail()
Head and tail should be used by pair.
|
abstract FloatStream |
FloatStream.top(int n)
This method only run sequentially, even in parallel stream. |
abstract FloatStream |
FloatStream.top(int n,
java.util.Comparator<? super java.lang.Float> comparator)
This method only run sequentially, even in parallel stream. |
static FloatStream |
FloatStream.zip(java.util.Collection<? extends FloatStream> c,
float[] valuesForNone,
FloatNFunction<java.lang.Float> zipFunction)
Zip together the iterators until all of them runs out of values.
|
static FloatStream |
FloatStream.zip(java.util.Collection<? extends FloatStream> c,
FloatNFunction<java.lang.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,
FloatTriFunction<java.lang.Float> 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,
FloatTriFunction<java.lang.Float> 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,
FloatBiFunction<java.lang.Float> 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,
FloatBiFunction<java.lang.Float> zipFunction)
Zip together the "a" and "b" iterators until all of them runs out of values.
|
static FloatStream |
FloatStream.zip(FloatIterator a,
FloatIterator b,
FloatBiFunction<java.lang.Float> 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,
FloatBiFunction<java.lang.Float> 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,
FloatTriFunction<java.lang.Float> 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,
FloatTriFunction<java.lang.Float> 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,
FloatBiFunction<java.lang.Float> 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,
FloatBiFunction<java.lang.Float> 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,
FloatTriFunction<java.lang.Float> 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,
FloatTriFunction<java.lang.Float> zipFunction)
Zip together the "a", "b" and "c" streams until one of them runs out of values.
|
abstract FloatStream |
FloatStream.zipWith(FloatStream b,
FloatBiFunction<java.lang.Float> zipFunction) |
abstract FloatStream |
FloatStream.zipWith(FloatStream b,
float valueForNoneA,
float valueForNoneB,
FloatBiFunction<java.lang.Float> zipFunction) |
abstract FloatStream |
FloatStream.zipWith(FloatStream b,
FloatStream c,
float valueForNoneA,
float valueForNoneB,
float valueForNoneC,
FloatTriFunction<java.lang.Float> zipFunction) |
abstract FloatStream |
FloatStream.zipWith(FloatStream b,
FloatStream c,
FloatTriFunction<java.lang.Float> zipFunction) |
Modifier and Type | Method and Description |
---|---|
abstract Pair<OptionalFloat,FloatStream> |
FloatStream.headAndTail() |
abstract Pair<FloatStream,OptionalFloat> |
FloatStream.headAndTail2() |
Modifier and Type | Method and Description |
---|---|
static FloatStream |
FloatStream.concat(FloatStream... a) |
abstract FloatStream |
FloatStream.merge(FloatStream b,
FloatBiFunction<com.landawn.abacus.util.Nth> nextSelector) |
static FloatStream |
FloatStream.merge(FloatStream a,
FloatStream b,
FloatBiFunction<com.landawn.abacus.util.Nth> nextSelector) |
static FloatStream |
FloatStream.merge(FloatStream a,
FloatStream b,
FloatStream c,
FloatBiFunction<com.landawn.abacus.util.Nth> nextSelector) |
static FloatStream |
FloatStream.zip(FloatStream a,
FloatStream b,
FloatBiFunction<java.lang.Float> 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,
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,
float valueForNoneA,
float valueForNoneB,
FloatBiFunction<java.lang.Float> zipFunction)
Zip together the "a" and "b" iterators until all 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,
FloatStream c,
float valueForNoneA,
float valueForNoneB,
float valueForNoneC,
FloatTriFunction<java.lang.Float> 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,
FloatTriFunction<java.lang.Float> 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,
FloatBiFunction<java.lang.Float> zipFunction) |
abstract FloatStream |
FloatStream.zipWith(FloatStream b,
float valueForNoneA,
float valueForNoneB,
FloatBiFunction<java.lang.Float> zipFunction) |
abstract FloatStream |
FloatStream.zipWith(FloatStream b,
FloatStream c,
float valueForNoneA,
float valueForNoneB,
float valueForNoneC,
FloatTriFunction<java.lang.Float> zipFunction) |
abstract FloatStream |
FloatStream.zipWith(FloatStream b,
FloatStream c,
FloatTriFunction<java.lang.Float> zipFunction) |
Modifier and Type | Method and Description |
---|---|
<R> R |
FloatStream.__(Function<? super FloatStream,R> transfer) |
static FloatStream |
FloatStream.concat(java.util.Collection<? extends FloatStream> c) |
abstract FloatStream |
FloatStream.flatMap(FloatFunction<? extends FloatStream> mapper)
Returns a stream consisting of the results of replacing each element of
this stream with the contents of a mapped stream produced by applying
the provided mapping function to each element.
|
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(java.util.Collection<? extends FloatStream> c,
FloatBiFunction<com.landawn.abacus.util.Nth> nextSelector) |
static FloatStream |
FloatStream.parallelMerge(java.util.Collection<? extends FloatStream> c,
FloatBiFunction<com.landawn.abacus.util.Nth> nextSelector) |
static FloatStream |
FloatStream.parallelMerge(java.util.Collection<? extends FloatStream> c,
FloatBiFunction<com.landawn.abacus.util.Nth> nextSelector,
int maxThreadNum) |
static FloatStream |
FloatStream.zip(java.util.Collection<? extends FloatStream> c,
float[] valuesForNone,
FloatNFunction<java.lang.Float> zipFunction)
Zip together the iterators until all of them runs out of values.
|
static <R> Stream<R> |
Stream.zip(java.util.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(java.util.Collection<? extends FloatStream> c,
FloatNFunction<java.lang.Float> zipFunction)
Zip together the iterators until one of them runs out of values.
|
static <R> Stream<R> |
Stream.zip(java.util.Collection<? extends FloatStream> c,
FloatNFunction<R> zipFunction)
Zip together the iterators until one of them runs out of values.
|