- accept(T, U) - Method in interface com.annimon.stream.function.BiConsumer
-
Performs operation on two arguments.
- accept(boolean) - Method in interface com.annimon.stream.function.BooleanConsumer
-
Performs operation on the given argument.
- accept(T) - Method in interface com.annimon.stream.function.Consumer
-
Performs operation on argument.
- accept(double) - Method in interface com.annimon.stream.function.DoubleConsumer
-
Performs operation on the given argument.
- accept(int, T) - Method in interface com.annimon.stream.function.IndexedConsumer
-
Performs operation on argument.
- accept(IntConsumer, Consumer<? super T>) - Static method in class com.annimon.stream.function.IndexedConsumer.Util
-
Returns an IndexedConsumer that accepts IntConsumer
for index and Consumer for object.
- accept(int, double) - Method in interface com.annimon.stream.function.IndexedDoubleConsumer
-
Performs operation on argument.
- accept(IntConsumer, DoubleConsumer) - Static method in class com.annimon.stream.function.IndexedDoubleConsumer.Util
-
Returns an IndexedDoubleConsumer that accepts IntConsumer
for index and DoubleConsumer for value.
- accept(int, int) - Method in interface com.annimon.stream.function.IndexedIntConsumer
-
Performs operation on argument.
- accept(IntConsumer, IntConsumer) - Static method in class com.annimon.stream.function.IndexedIntConsumer.Util
-
Returns an IndexedIntConsumer that accepts IntConsumer
for index and IntConsumer for value.
- accept(int, long) - Method in interface com.annimon.stream.function.IndexedLongConsumer
-
Performs operation on argument.
- accept(IntConsumer, LongConsumer) - Static method in class com.annimon.stream.function.IndexedLongConsumer.Util
-
Returns an IndexedLongConsumer that accepts IntConsumer
for index and LongConsumer for value.
- accept(int) - Method in interface com.annimon.stream.function.IntConsumer
-
Performs this operation on the given argument.
- accept(long) - Method in interface com.annimon.stream.function.LongConsumer
-
Performs operation on the given argument.
- accept(T, double) - Method in interface com.annimon.stream.function.ObjDoubleConsumer
-
Performs operation on two arguments.
- accept(T, int) - Method in interface com.annimon.stream.function.ObjIntConsumer
-
Performs operation on two arguments.
- accept(T, long) - Method in interface com.annimon.stream.function.ObjLongConsumer
-
Performs operation on two arguments.
- accept(T) - Method in interface com.annimon.stream.function.ThrowableConsumer
-
Performs operation on argument.
- accept(double) - Method in interface com.annimon.stream.function.ThrowableDoubleConsumer
-
Performs operation on the given argument.
- accept(int) - Method in interface com.annimon.stream.function.ThrowableIntConsumer
-
Performs operation on the given argument.
- accept(long) - Method in interface com.annimon.stream.function.ThrowableLongConsumer
-
Performs operation on the given argument.
- accumulator() - Method in interface com.annimon.stream.Collector
-
Function folds elements into container.
- allMatch(DoublePredicate) - Method in class com.annimon.stream.DoubleStream
-
Tests whether all elements match the given predicate.
- allMatch(IntPredicate) - Method in class com.annimon.stream.IntStream
-
Returns whether all elements of this stream match the provided predicate.
- allMatch(LongPredicate) - Method in class com.annimon.stream.LongStream
-
Tests whether all elements match the given predicate.
- allMatch(Predicate<? super T>) - Method in class com.annimon.stream.Stream
-
Tests whether all elements match the given predicate.
- and(BooleanPredicate, BooleanPredicate) - Static method in class com.annimon.stream.function.BooleanPredicate.Util
-
Applies logical AND to predicates.
- and(DoublePredicate, DoublePredicate) - Static method in class com.annimon.stream.function.DoublePredicate.Util
-
Applies logical AND to predicates.
- and(IntPredicate, IntPredicate) - Static method in class com.annimon.stream.function.IntPredicate.Util
-
Applies logical AND to predicates.
- and(LongPredicate, LongPredicate) - Static method in class com.annimon.stream.function.LongPredicate.Util
-
Applies logical AND to predicates.
- and(Predicate<? super T>, Predicate<? super T>) - Static method in class com.annimon.stream.function.Predicate.Util
-
Applies logical AND to predicates.
- and(Predicate<? super T>, Predicate<? super T>, Predicate<? super T>...) - Static method in class com.annimon.stream.function.Predicate.Util
-
Applies logical AND to multiple predicates.
- andThen(BiConsumer<? super T, ? super U>, BiConsumer<? super T, ? super U>) - Static method in class com.annimon.stream.function.BiConsumer.Util
-
Composes BiConsumer calls.
- andThen(BiFunction<? super T, ? super U, ? extends R>, Function<? super R, ? extends V>) - Static method in class com.annimon.stream.function.BiFunction.Util
-
Composes BiFunction calls.
- andThen(BooleanConsumer, BooleanConsumer) - Static method in class com.annimon.stream.function.BooleanConsumer.Util
-
Composes BooleanConsumer calls.
- andThen(Consumer<? super T>, Consumer<? super T>) - Static method in class com.annimon.stream.function.Consumer.Util
-
Composes Consumer calls.
- andThen(DoubleConsumer, DoubleConsumer) - Static method in class com.annimon.stream.function.DoubleConsumer.Util
-
Composes DoubleConsumer calls.
- andThen(Function<? super T, ? extends R>, Function<? super R, ? extends V>) - Static method in class com.annimon.stream.function.Function.Util
-
Composes Function calls.
- andThen(IndexedDoubleConsumer, IndexedDoubleConsumer) - Static method in class com.annimon.stream.function.IndexedDoubleConsumer.Util
-
Composes IndexedDoubleConsumer calls.
- andThen(IndexedIntConsumer, IndexedIntConsumer) - Static method in class com.annimon.stream.function.IndexedIntConsumer.Util
-
Composes IndexedIntConsumer calls.
- andThen(IndexedLongConsumer, IndexedLongConsumer) - Static method in class com.annimon.stream.function.IndexedLongConsumer.Util
-
Composes IndexedLongConsumer calls.
- andThen(IntConsumer, IntConsumer) - Static method in class com.annimon.stream.function.IntConsumer.Util
-
Composes IntConsumer calls.
- andThen(LongConsumer, LongConsumer) - Static method in class com.annimon.stream.function.LongConsumer.Util
-
Composes LongConsumer calls.
- anyMatch(DoublePredicate) - Method in class com.annimon.stream.DoubleStream
-
Tests whether all elements match the given predicate.
- anyMatch(IntPredicate) - Method in class com.annimon.stream.IntStream
-
Returns whether any elements of this stream match the provided
predicate.
- anyMatch(LongPredicate) - Method in class com.annimon.stream.LongStream
-
Tests whether all elements match the given predicate.
- anyMatch(Predicate<? super T>) - Method in class com.annimon.stream.Stream
-
Tests whether any elements match the given predicate.
- apply(T, U) - Method in interface com.annimon.stream.function.BiFunction
-
Applies this function to the given arguments.
- apply(boolean) - Method in interface com.annimon.stream.function.BooleanFunction
-
Applies this function to the given argument.
- apply(double) - Method in interface com.annimon.stream.function.DoubleFunction
-
Applies this function to the given argument.
- apply(T) - Method in interface com.annimon.stream.function.Function
-
Applies this function to the given argument.
- apply(int, T, U) - Method in interface com.annimon.stream.function.IndexedBiFunction
-
Applies this function to the given arguments.
- apply(int, double) - Method in interface com.annimon.stream.function.IndexedDoubleFunction
-
Applies this function to the given argument.
- apply(int, T) - Method in interface com.annimon.stream.function.IndexedFunction
-
Applies this function to the given argument.
- apply(int, int) - Method in interface com.annimon.stream.function.IndexedIntFunction
-
Applies this function to the given argument.
- apply(int, long) - Method in interface com.annimon.stream.function.IndexedLongFunction
-
Applies this function to the given argument.
- apply(int) - Method in interface com.annimon.stream.function.IntFunction
-
Applies this function to the given argument.
- apply(long) - Method in interface com.annimon.stream.function.LongFunction
-
Applies this function to the given argument.
- apply(double) - Method in interface com.annimon.stream.function.ThrowableDoubleFunction
-
Applies this function to the given argument.
- apply(I) - Method in interface com.annimon.stream.function.ThrowableFunction
-
Applies this function to the given argument.
- apply(int) - Method in interface com.annimon.stream.function.ThrowableIntFunction
-
Applies this function to the given argument.
- apply(long) - Method in interface com.annimon.stream.function.ThrowableLongFunction
-
Applies this function to the given argument.
- applyAsBoolean(T) - Method in interface com.annimon.stream.function.ToBooleanFunction
-
Applies this function to the given argument.
- applyAsDouble(double, double) - Method in interface com.annimon.stream.function.DoubleBinaryOperator
-
Applies this operator to the given operands.
- applyAsDouble(double) - Method in interface com.annimon.stream.function.DoubleUnaryOperator
-
Applies this operator to the given operand.
- applyAsDouble(int, double) - Method in interface com.annimon.stream.function.IndexedDoubleUnaryOperator
-
Applies this operator to the given operand.
- applyAsDouble(int) - Method in interface com.annimon.stream.function.IntToDoubleFunction
-
Applies this function to the given argument.
- applyAsDouble(long) - Method in interface com.annimon.stream.function.LongToDoubleFunction
-
Applies this function to the given argument.
- applyAsDouble(T) - Method in interface com.annimon.stream.function.ToDoubleFunction
-
Applies this function to the given argument.
- applyAsInt(double) - Method in interface com.annimon.stream.function.DoubleToIntFunction
-
Applies this function to the given argument.
- applyAsInt(int, int) - Method in interface com.annimon.stream.function.IntBinaryOperator
-
Applies this operator to the given operands.
- applyAsInt(int) - Method in interface com.annimon.stream.function.IntUnaryOperator
-
Applies this operator to the given operand.
- applyAsInt(long) - Method in interface com.annimon.stream.function.LongToIntFunction
-
Applies this function to the given argument.
- applyAsInt(T) - Method in interface com.annimon.stream.function.ToIntFunction
-
Applies this function to the given argument.
- applyAsLong(double) - Method in interface com.annimon.stream.function.DoubleToLongFunction
-
Applies this function to the given argument.
- applyAsLong(int, long) - Method in interface com.annimon.stream.function.IndexedLongUnaryOperator
-
Applies this operator to the given operand.
- applyAsLong(int) - Method in interface com.annimon.stream.function.IntToLongFunction
-
Applies this function to the given argument.
- applyAsLong(long, long) - Method in interface com.annimon.stream.function.LongBinaryOperator
-
Applies this operator to the given operands.
- applyAsLong(long) - Method in interface com.annimon.stream.function.LongUnaryOperator
-
Applies this operator to the given operand.
- applyAsLong(T) - Method in interface com.annimon.stream.function.ToLongFunction
-
Applies this function to the given argument.
- average() - Method in class com.annimon.stream.DoubleStream
-
Returns the average of elements in this stream.
- averaging(Function<? super T, Double>) - Static method in class com.annimon.stream.Collectors
-
- averagingDouble(ToDoubleFunction<? super T>) - Static method in class com.annimon.stream.Collectors
-
Returns a Collector that calculates average of double-valued input elements.
- averagingInt(ToIntFunction<? super T>) - Static method in class com.annimon.stream.Collectors
-
Returns a Collector that calculates average of integer-valued input elements.
- averagingLong(ToLongFunction<? super T>) - Static method in class com.annimon.stream.Collectors
-
Returns a Collector that calculates average of long-valued input elements.
- chain(Comparator<T>) - Static method in class com.annimon.stream.ComparatorCompat
-
Allows to build comparators with method chaining.
- chunkBy(Function<? super T, ? extends K>) - Method in class com.annimon.stream.Stream
-
Partitions Stream into Lists according to the given classifier function.
- close() - Method in class com.annimon.stream.DoubleStream
-
Causes close handler to be invoked if it exists.
- close() - Method in class com.annimon.stream.IntStream
-
Causes close handler to be invoked if it exists.
- close() - Method in class com.annimon.stream.LongStream
-
Causes close handler to be invoked if it exists.
- close() - Method in class com.annimon.stream.Stream
-
Causes close handler to be invoked if it exists.
- closeables(Closeable, Closeable) - Static method in class com.annimon.stream.internal.Compose
-
- closeHandler - Variable in class com.annimon.stream.internal.Params
-
- collect(Supplier<R>, ObjDoubleConsumer<R>) - Method in class com.annimon.stream.DoubleStream
-
Collects elements to supplier provided container by applying the given accumulation function.
- collect(Supplier<R>, ObjIntConsumer<R>) - Method in class com.annimon.stream.IntStream
-
Collects elements to supplier provided container by applying the given accumulation function.
- collect(Supplier<R>, ObjLongConsumer<R>) - Method in class com.annimon.stream.LongStream
-
Collects elements to supplier provided container by applying the given accumulation function.
- collect(Supplier<R>, BiConsumer<R, ? super T>) - Method in class com.annimon.stream.Stream
-
Collects elements to supplier provided container by applying the given accumulation function.
- collect(Collector<? super T, A, R>) - Method in class com.annimon.stream.Stream
-
Collects elements with collector that encapsulates supplier, accumulator and combiner functions.
- collectingAndThen(Collector<T, A, IR>, Function<IR, OR>) - Static method in class com.annimon.stream.Collectors
-
Returns a Collector that performs additional transformation.
- Collector<T,A,R> - Interface in com.annimon.stream
-
The Collector of stream data.
- Collectors - Class in com.annimon.stream
-
Common implementations of Collector interface.
- com.annimon.stream - package com.annimon.stream
-
- com.annimon.stream.function - package com.annimon.stream.function
-
- com.annimon.stream.internal - package com.annimon.stream.internal
-
- com.annimon.stream.iterator - package com.annimon.stream.iterator
-
- com.annimon.stream.operator - package com.annimon.stream.operator
-
- comparator() - Method in class com.annimon.stream.ComparatorCompat
-
- ComparatorCompat<T> - Class in com.annimon.stream
-
Backported default and static methods from Java 8
Comparator interface.
- ComparatorCompat(Comparator<? super T>) - Constructor for class com.annimon.stream.ComparatorCompat
-
- compare(T, T) - Method in class com.annimon.stream.ComparatorCompat
-
- compare(T, T, Comparator<? super T>) - Static method in class com.annimon.stream.Objects
-
Compares two objects with provided comparator.
- compareInt(int, int) - Static method in class com.annimon.stream.Objects
-
Compares two int values.
- compareLong(long, long) - Static method in class com.annimon.stream.Objects
-
Compares two long values.
- comparing(Function<? super T, ? extends U>, Comparator<? super U>) - Static method in class com.annimon.stream.ComparatorCompat
-
Returns a comparator that uses a function that extracts a sort key
to be compared with the specified comparator.
- comparing(Function<? super T, ? extends U>) - Static method in class com.annimon.stream.ComparatorCompat
-
Returns a comparator that uses a function that extracts
a
Comparable sort key to be compared.
- comparingDouble(ToDoubleFunction<? super T>) - Static method in class com.annimon.stream.ComparatorCompat
-
Returns a comparator that uses a function that extracts
a double sort key to be compared.
- comparingInt(ToIntFunction<? super T>) - Static method in class com.annimon.stream.ComparatorCompat
-
Returns a comparator that uses a function that extracts
an int sort key to be compared.
- comparingLong(ToLongFunction<? super T>) - Static method in class com.annimon.stream.ComparatorCompat
-
Returns a comparator that uses a function that extracts
a long sort key to be compared.
- Compat - Class in com.annimon.stream.internal
-
Compatibility methods for Android API < 9.
- Compat() - Constructor for class com.annimon.stream.internal.Compat
-
- compose(Function<? super T, ? extends R>, Function<? super V, ? extends T>) - Static method in class com.annimon.stream.function.Function.Util
-
Composes Function calls.
- Compose - Class in com.annimon.stream.internal
-
- concat(DoubleStream, DoubleStream) - Static method in class com.annimon.stream.DoubleStream
-
Concatenates two streams.
- concat(IntStream, IntStream) - Static method in class com.annimon.stream.IntStream
-
Creates a lazily concatenated stream whose elements are all the
elements of the first stream followed by all the elements of the
second stream.
- concat(LongStream, LongStream) - Static method in class com.annimon.stream.LongStream
-
Concatenates two streams.
- concat(Stream<? extends T>, Stream<? extends T>) - Static method in class com.annimon.stream.Stream
-
Concatenates two streams.
- concat(Iterator<? extends T>, Iterator<? extends T>) - Static method in class com.annimon.stream.Stream
-
Concatenates two iterators to a stream.
- Consumer<T> - Interface in com.annimon.stream.function
-
Represents an operation on input argument.
- Consumer.Util - Class in com.annimon.stream.function
-
- count() - Method in class com.annimon.stream.DoubleStream
-
Returns the count of elements in this stream.
- count() - Method in class com.annimon.stream.IntStream
-
Returns the count of elements in this stream.
- count() - Method in class com.annimon.stream.LongStream
-
Returns the count of elements in this stream.
- count() - Method in class com.annimon.stream.Stream
-
Returns the count of elements in this stream.
- counting() - Static method in class com.annimon.stream.Collectors
-
Returns a Collector that counts the number of input elements.
- custom(Function<DoubleStream, R>) - Method in class com.annimon.stream.DoubleStream
-
Applies custom operator on stream.
- custom(Function<Exceptional<T>, R>) - Method in class com.annimon.stream.Exceptional
-
Applies custom operator on Exceptional.
- custom(Function<IntStream, R>) - Method in class com.annimon.stream.IntStream
-
Applies custom operator on stream.
- custom(Function<LongStream, R>) - Method in class com.annimon.stream.LongStream
-
Applies custom operator on stream.
- custom(Function<Optional<T>, R>) - Method in class com.annimon.stream.Optional
-
Applies custom operator on Optional.
- custom(Function<OptionalBoolean, R>) - Method in class com.annimon.stream.OptionalBoolean
-
Applies custom operator on OptionalBoolean.
- custom(Function<OptionalDouble, R>) - Method in class com.annimon.stream.OptionalDouble
-
Applies custom operator on OptionalDouble.
- custom(Function<OptionalInt, R>) - Method in class com.annimon.stream.OptionalInt
-
Applies custom operator on OptionalInt.
- custom(Function<OptionalLong, R>) - Method in class com.annimon.stream.OptionalLong
-
Applies custom operator on OptionalLong.
- custom(Function<Stream<T>, R>) - Method in class com.annimon.stream.Stream
-
Applies custom operator on stream.
- deepEquals(Object, Object) - Static method in class com.annimon.stream.Objects
-
Checks deep equality of two objects.
- distinct() - Method in class com.annimon.stream.DoubleStream
-
Returns a stream consisting of the distinct elements of this stream.
- distinct() - Method in class com.annimon.stream.IntStream
-
Returns a stream consisting of the distinct elements of this stream.
- distinct() - Method in class com.annimon.stream.LongStream
-
Returns a stream consisting of the distinct elements of this stream.
- distinct() - Method in class com.annimon.stream.Stream
-
Returns Stream with distinct elements (as determined by hashCode and equals methods).
- distinctBy(Function<? super T, ? extends K>) - Method in class com.annimon.stream.Stream
-
Returns Stream with distinct elements (as determined by hashCode
and equals methods) according to the given classifier function.
- DoubleArray - Class in com.annimon.stream.operator
-
- DoubleArray(double[]) - Constructor for class com.annimon.stream.operator.DoubleArray
-
- DoubleBinaryOperator - Interface in com.annimon.stream.function
-
Represents an operation on two double-valued operands
that produces a double-valued result.
- DoubleConcat - Class in com.annimon.stream.operator
-
- DoubleConcat(PrimitiveIterator.OfDouble, PrimitiveIterator.OfDouble) - Constructor for class com.annimon.stream.operator.DoubleConcat
-
- DoubleConsumer - Interface in com.annimon.stream.function
-
Represents an operation on a double-valued input argument.
- DoubleConsumer.Util - Class in com.annimon.stream.function
-
- DoubleDropWhile - Class in com.annimon.stream.operator
-
- DoubleDropWhile(PrimitiveIterator.OfDouble, DoublePredicate) - Constructor for class com.annimon.stream.operator.DoubleDropWhile
-
- DoubleFilter - Class in com.annimon.stream.operator
-
- DoubleFilter(PrimitiveIterator.OfDouble, DoublePredicate) - Constructor for class com.annimon.stream.operator.DoubleFilter
-
- DoubleFilterIndexed - Class in com.annimon.stream.operator
-
- DoubleFilterIndexed(PrimitiveIndexedIterator.OfDouble, IndexedDoublePredicate) - Constructor for class com.annimon.stream.operator.DoubleFilterIndexed
-
- DoubleFlatMap - Class in com.annimon.stream.operator
-
- DoubleFlatMap(PrimitiveIterator.OfDouble, DoubleFunction<? extends DoubleStream>) - Constructor for class com.annimon.stream.operator.DoubleFlatMap
-
- DoubleFunction<R> - Interface in com.annimon.stream.function
-
Represents a function which produces result from double-valued input argument.
- DoubleFunction.Util - Class in com.annimon.stream.function
-
- DoubleGenerate - Class in com.annimon.stream.operator
-
- DoubleGenerate(DoubleSupplier) - Constructor for class com.annimon.stream.operator.DoubleGenerate
-
- DoubleIterate - Class in com.annimon.stream.operator
-
- DoubleIterate(double, DoubleUnaryOperator) - Constructor for class com.annimon.stream.operator.DoubleIterate
-
- DoubleLimit - Class in com.annimon.stream.operator
-
- DoubleLimit(PrimitiveIterator.OfDouble, long) - Constructor for class com.annimon.stream.operator.DoubleLimit
-
- DoubleMap - Class in com.annimon.stream.operator
-
- DoubleMap(PrimitiveIterator.OfDouble, DoubleUnaryOperator) - Constructor for class com.annimon.stream.operator.DoubleMap
-
- DoubleMapIndexed - Class in com.annimon.stream.operator
-
- DoubleMapIndexed(PrimitiveIndexedIterator.OfDouble, IndexedDoubleUnaryOperator) - Constructor for class com.annimon.stream.operator.DoubleMapIndexed
-
- DoubleMapToInt - Class in com.annimon.stream.operator
-
- DoubleMapToInt(PrimitiveIterator.OfDouble, DoubleToIntFunction) - Constructor for class com.annimon.stream.operator.DoubleMapToInt
-
- DoubleMapToLong - Class in com.annimon.stream.operator
-
- DoubleMapToLong(PrimitiveIterator.OfDouble, DoubleToLongFunction) - Constructor for class com.annimon.stream.operator.DoubleMapToLong
-
- DoubleMapToObj<R> - Class in com.annimon.stream.operator
-
- DoubleMapToObj(PrimitiveIterator.OfDouble, DoubleFunction<? extends R>) - Constructor for class com.annimon.stream.operator.DoubleMapToObj
-
- DoublePeek - Class in com.annimon.stream.operator
-
- DoublePeek(PrimitiveIterator.OfDouble, DoubleConsumer) - Constructor for class com.annimon.stream.operator.DoublePeek
-
- DoublePredicate - Interface in com.annimon.stream.function
-
Represents a double-valued predicate (function with boolean type result).
- DoublePredicate.Util - Class in com.annimon.stream.function
-
- doubles(long) - Method in class com.annimon.stream.RandomCompat
-
Returns a stream producing the given streamSize number of
pseudorandom double values, each between zero (inclusive)
and one (exclusive).
- doubles() - Method in class com.annimon.stream.RandomCompat
-
Returns an effectively unlimited stream of pseudorandom double values,
each between zero (inclusive) and one (exclusive).
- doubles(long, double, double) - Method in class com.annimon.stream.RandomCompat
-
Returns a stream producing the given streamSize number
of pseudorandom double values, each conforming
to the given origin (inclusive) and bound (exclusive).
- doubles(double, double) - Method in class com.annimon.stream.RandomCompat
-
Returns an effectively unlimited stream of pseudorandom double
values, each conforming to the given origin (inclusive) and bound (exclusive)
- DoubleSample - Class in com.annimon.stream.operator
-
- DoubleSample(PrimitiveIterator.OfDouble, int) - Constructor for class com.annimon.stream.operator.DoubleSample
-
- DoubleScan - Class in com.annimon.stream.operator
-
- DoubleScan(PrimitiveIterator.OfDouble, DoubleBinaryOperator) - Constructor for class com.annimon.stream.operator.DoubleScan
-
- DoubleScanIdentity - Class in com.annimon.stream.operator
-
- DoubleScanIdentity(PrimitiveIterator.OfDouble, double, DoubleBinaryOperator) - Constructor for class com.annimon.stream.operator.DoubleScanIdentity
-
- DoubleSkip - Class in com.annimon.stream.operator
-
- DoubleSkip(PrimitiveIterator.OfDouble, long) - Constructor for class com.annimon.stream.operator.DoubleSkip
-
- DoubleSorted - Class in com.annimon.stream.operator
-
- DoubleSorted(PrimitiveIterator.OfDouble) - Constructor for class com.annimon.stream.operator.DoubleSorted
-
- DoubleStream - Class in com.annimon.stream
-
A sequence of double-valued elements supporting aggregate operations.
- DoubleSupplier - Interface in com.annimon.stream.function
-
Represents a supplier of double-valued results.
- DoubleSupplier.Util - Class in com.annimon.stream.function
-
- DoubleTakeUntil - Class in com.annimon.stream.operator
-
- DoubleTakeUntil(PrimitiveIterator.OfDouble, DoublePredicate) - Constructor for class com.annimon.stream.operator.DoubleTakeUntil
-
- DoubleTakeWhile - Class in com.annimon.stream.operator
-
- DoubleTakeWhile(PrimitiveIterator.OfDouble, DoublePredicate) - Constructor for class com.annimon.stream.operator.DoubleTakeWhile
-
- DoubleToIntFunction - Interface in com.annimon.stream.function
-
Represents a function which produces an int-valued result from input argument.
- DoubleToLongFunction - Interface in com.annimon.stream.function
-
Represents a function which produces an long-valued result from input argument.
- DoubleUnaryOperator - Interface in com.annimon.stream.function
-
Represents an operation on a single double-valued operand
that produces a double-valued result.
- DoubleUnaryOperator.Util - Class in com.annimon.stream.function
-
- dropWhile(DoublePredicate) - Method in class com.annimon.stream.DoubleStream
-
Drops elements while the predicate is true and returns the rest.
- dropWhile(IntPredicate) - Method in class com.annimon.stream.IntStream
-
Drops elements while the predicate is true and returns the rest.
- dropWhile(LongPredicate) - Method in class com.annimon.stream.LongStream
-
Drops elements while the predicate is true and returns the rest.
- dropWhile(Predicate<? super T>) - Method in class com.annimon.stream.Stream
-
Drops elements while the predicate is true, then returns the rest.
- dropWhileIndexed(IndexedPredicate<? super T>) - Method in class com.annimon.stream.Stream
-
Drops elements while the IndexedPredicate is true, then returns the rest.
- dropWhileIndexed(int, int, IndexedPredicate<? super T>) - Method in class com.annimon.stream.Stream
-
Drops elements while the IndexedPredicate is true, then returns the rest.
- filter(DoublePredicate) - Method in class com.annimon.stream.DoubleStream
-
Returns DoubleStream with elements that satisfy the given predicate.
- filter(IntPredicate) - Method in class com.annimon.stream.IntStream
-
Returns a stream consisting of the elements of this stream that match
the given predicate.
- filter(LongPredicate) - Method in class com.annimon.stream.LongStream
-
Returns LongStream with elements that satisfy the given predicate.
- filter(Predicate<? super T>) - Method in class com.annimon.stream.Optional
-
Performs filtering on inner value if it is present.
- filter(BooleanPredicate) - Method in class com.annimon.stream.OptionalBoolean
-
Performs filtering on inner value if it is present.
- filter(DoublePredicate) - Method in class com.annimon.stream.OptionalDouble
-
Performs filtering on inner value if it is present.
- filter(IntPredicate) - Method in class com.annimon.stream.OptionalInt
-
Performs filtering on inner value if it is present.
- filter(LongPredicate) - Method in class com.annimon.stream.OptionalLong
-
Performs filtering on inner value if it is present.
- filter(Predicate<? super T>) - Method in class com.annimon.stream.Stream
-
Returns Stream with elements that satisfy the given predicate.
- filterIndexed(IndexedDoublePredicate) - Method in class com.annimon.stream.DoubleStream
-
Returns a DoubleStream with elements that satisfy the given IndexedDoublePredicate.
- filterIndexed(int, int, IndexedDoublePredicate) - Method in class com.annimon.stream.DoubleStream
-
Returns a DoubleStream with elements that satisfy the given IndexedDoublePredicate.
- filterIndexed(IndexedIntPredicate) - Method in class com.annimon.stream.IntStream
-
Returns an IntStream with elements that satisfy the given IndexedIntPredicate.
- filterIndexed(int, int, IndexedIntPredicate) - Method in class com.annimon.stream.IntStream
-
Returns an IntStream with elements that satisfy the given IndexedIntPredicate.
- filterIndexed(IndexedLongPredicate) - Method in class com.annimon.stream.LongStream
-
Returns a LongStream with elements that satisfy the given IndexedLongPredicate.
- filterIndexed(int, int, IndexedLongPredicate) - Method in class com.annimon.stream.LongStream
-
Returns a LongStream with elements that satisfy the given IndexedLongPredicate.
- filterIndexed(IndexedPredicate<? super T>) - Method in class com.annimon.stream.Stream
-
Returns a Stream with elements that satisfy the given IndexedPredicate.
- filterIndexed(int, int, IndexedPredicate<? super T>) - Method in class com.annimon.stream.Stream
-
Returns a Stream with elements that satisfy the given IndexedPredicate.
- filtering(Predicate<? super T>, Collector<? super T, A, R>) - Static method in class com.annimon.stream.Collectors
-
Returns a Collector that filters input elements.
- filterNot(DoublePredicate) - Method in class com.annimon.stream.DoubleStream
-
Returns DoubleStream with elements that does not satisfy the given predicate.
- filterNot(IntPredicate) - Method in class com.annimon.stream.IntStream
-
Returns a stream consisting of the elements of this stream that don't
match the given predicate.
- filterNot(LongPredicate) - Method in class com.annimon.stream.LongStream
-
Returns LongStream with elements that does not satisfy the given predicate.
- filterNot(Predicate<? super T>) - Method in class com.annimon.stream.Optional
-
Performs negated filtering on inner value if it is present.
- filterNot(BooleanPredicate) - Method in class com.annimon.stream.OptionalBoolean
-
Performs negated filtering on inner value if it is present.
- filterNot(DoublePredicate) - Method in class com.annimon.stream.OptionalDouble
-
Performs negated filtering on inner value if it is present.
- filterNot(IntPredicate) - Method in class com.annimon.stream.OptionalInt
-
Performs negated filtering on inner value if it is present.
- filterNot(LongPredicate) - Method in class com.annimon.stream.OptionalLong
-
Performs negated filtering on inner value if it is present.
- filterNot(Predicate<? super T>) - Method in class com.annimon.stream.Stream
-
Returns Stream with elements that does not satisfy the given predicate.
- findFirst() - Method in class com.annimon.stream.DoubleStream
-
Returns the first element wrapped by OptionalDouble class.
- findFirst() - Method in class com.annimon.stream.IntStream
-
Returns an
OptionalInt describing the first element of this
stream, or an empty
OptionalInt if the stream is empty.
- findFirst() - Method in class com.annimon.stream.LongStream
-
Returns the first element wrapped by OptionalLong class.
- findFirst() - Method in class com.annimon.stream.Stream
-
Returns the first element wrapped by Optional class.
- findIndexed(IndexedPredicate<? super T>) - Method in class com.annimon.stream.Stream
-
Finds the first element and its index that matches the given predicate.
- findIndexed(int, int, IndexedPredicate<? super T>) - Method in class com.annimon.stream.Stream
-
Finds the first element and its index that matches the given predicate.
- findLast() - Method in class com.annimon.stream.DoubleStream
-
Returns the last element wrapped by OptionalDouble class.
- findLast() - Method in class com.annimon.stream.IntStream
-
Returns the last element wrapped by OptionalInt class.
- findLast() - Method in class com.annimon.stream.LongStream
-
Returns the last element wrapped by OptionalLong class.
- findLast() - Method in class com.annimon.stream.Stream
-
Returns the last element wrapped by Optional class.
- findSingle() - Method in class com.annimon.stream.DoubleStream
-
Returns the single element wrapped by OptionalDouble class.
- findSingle() - Method in class com.annimon.stream.IntStream
-
Returns the single element wrapped by OptionalInt class.
- findSingle() - Method in class com.annimon.stream.LongStream
-
Returns the single element wrapped by OptionalLong class.
- findSingle() - Method in class com.annimon.stream.Stream
-
Returns the single element wrapped by Optional class.
- finisher() - Method in interface com.annimon.stream.Collector
-
Function produces result by transforming intermediate type.
- flatMap(DoubleFunction<? extends DoubleStream>) - Method in class com.annimon.stream.DoubleStream
-
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.
- flatMap(IntFunction<? extends IntStream>) - Method in class com.annimon.stream.IntStream
-
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.
- flatMap(LongFunction<? extends LongStream>) - Method in class com.annimon.stream.LongStream
-
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.
- flatMap(Function<? super T, Optional<U>>) - Method in class com.annimon.stream.Optional
-
Invokes mapping function with Optional result if value is present.
- flatMap(Function<? super T, ? extends Stream<? extends R>>) - Method in class com.annimon.stream.Stream
-
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.
- flatMapping(Function<? super T, ? extends Stream<? extends U>>, Collector<? super U, A, R>) - Static method in class com.annimon.stream.Collectors
-
Returns a Collector that performs flat-mapping before accumulation.
- flatMapToDouble(Function<? super T, ? extends DoubleStream>) - Method in class com.annimon.stream.Stream
-
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.
- flatMapToInt(Function<? super T, ? extends IntStream>) - Method in class com.annimon.stream.Stream
-
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.
- flatMapToLong(Function<? super T, ? extends LongStream>) - Method in class com.annimon.stream.Stream
-
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.
- forEach(DoubleConsumer) - Method in class com.annimon.stream.DoubleStream
-
Performs an action for each element of this stream.
- forEach(IntConsumer) - Method in class com.annimon.stream.IntStream
-
Performs an action for each element of this stream.
- forEach(LongConsumer) - Method in class com.annimon.stream.LongStream
-
Performs an action for each element of this stream.
- forEach(Consumer<? super T>) - Method in class com.annimon.stream.Stream
-
Performs the given action on each element.
- forEachIndexed(IndexedDoubleConsumer) - Method in class com.annimon.stream.DoubleStream
-
Performs the given indexed action on each element.
- forEachIndexed(int, int, IndexedDoubleConsumer) - Method in class com.annimon.stream.DoubleStream
-
Performs the given indexed action on each element.
- forEachIndexed(IndexedIntConsumer) - Method in class com.annimon.stream.IntStream
-
Performs the given indexed action on each element.
- forEachIndexed(int, int, IndexedIntConsumer) - Method in class com.annimon.stream.IntStream
-
Performs the given indexed action on each element.
- forEachIndexed(IndexedLongConsumer) - Method in class com.annimon.stream.LongStream
-
Performs the given indexed action on each element.
- forEachIndexed(int, int, IndexedLongConsumer) - Method in class com.annimon.stream.LongStream
-
Performs the given indexed action on each element.
- forEachIndexed(IndexedConsumer<? super T>) - Method in class com.annimon.stream.Stream
-
Performs the given indexed action on each element.
- forEachIndexed(int, int, IndexedConsumer<? super T>) - Method in class com.annimon.stream.Stream
-
Performs the given indexed action on each element.
- Function<T,R> - Interface in com.annimon.stream.function
-
Represents a function which produces result from input arguments.
- Function.Util - Class in com.annimon.stream.function
-
- generate(DoubleSupplier) - Static method in class com.annimon.stream.DoubleStream
-
Creates a DoubleStream by elements that generated by DoubleSupplier.
- generate(IntSupplier) - Static method in class com.annimon.stream.IntStream
-
Returns an infinite sequential unordered stream where each element is
generated by the provided IntSupplier.
- generate(LongSupplier) - Static method in class com.annimon.stream.LongStream
-
Creates a LongStream by elements that generated by LongSupplier.
- generate(Supplier<T>) - Static method in class com.annimon.stream.Stream
-
Creates a Stream by elements that generated by Supplier.
- get() - Method in class com.annimon.stream.Exceptional
-
Returns inner value.
- get() - Method in interface com.annimon.stream.function.Supplier
-
Gets a result.
- get() - Method in interface com.annimon.stream.function.ThrowableSupplier
-
Gets a result.
- get() - Method in class com.annimon.stream.Optional
-
Returns an inner value if present, otherwise throws NoSuchElementException.
- getAsBoolean() - Method in interface com.annimon.stream.function.BooleanSupplier
-
Gets a result.
- getAsBoolean() - Method in class com.annimon.stream.OptionalBoolean
-
Returns an inner value if present, otherwise throws NoSuchElementException.
- getAsDouble() - Method in interface com.annimon.stream.function.DoubleSupplier
-
Gets a result.
- getAsDouble() - Method in interface com.annimon.stream.function.ThrowableDoubleSupplier
-
Gets a result.
- getAsDouble() - Method in class com.annimon.stream.OptionalDouble
-
Returns an inner value if present, otherwise throws NoSuchElementException.
- getAsInt() - Method in interface com.annimon.stream.function.IntSupplier
-
Gets a result.
- getAsInt() - Method in interface com.annimon.stream.function.ThrowableIntSupplier
-
Gets a result.
- getAsInt() - Method in class com.annimon.stream.OptionalInt
-
If a value is present in this OptionalInt, returns the value,
otherwise throws NoSuchElementException.
- getAsLong() - Method in interface com.annimon.stream.function.LongSupplier
-
Gets a result.
- getAsLong() - Method in interface com.annimon.stream.function.ThrowableLongSupplier
-
Gets a result.
- getAsLong() - Method in class com.annimon.stream.OptionalLong
-
Returns an inner value if present, otherwise throws NoSuchElementException.
- getException() - Method in class com.annimon.stream.Exceptional
-
Returns exception.
- getFirst() - Method in class com.annimon.stream.IntPair
-
A first element in a pair.
- getIndex() - Method in class com.annimon.stream.iterator.IndexedIterator
-
- getIndex() - Method in class com.annimon.stream.iterator.PrimitiveIndexedIterator.OfDouble
-
- getIndex() - Method in class com.annimon.stream.iterator.PrimitiveIndexedIterator.OfInt
-
- getIndex() - Method in class com.annimon.stream.iterator.PrimitiveIndexedIterator.OfLong
-
- getOptional() - Method in class com.annimon.stream.Exceptional
-
Wraps inner value with Optional container
- getOrElse(T) - Method in class com.annimon.stream.Exceptional
-
Returns inner value if there were no exceptions, otherwise returns other.
- getOrElse(Supplier<? extends T>) - Method in class com.annimon.stream.Exceptional
-
Returns inner value if there were no exceptions, otherwise returns value produced by supplier function.
- getOrThrow() - Method in class com.annimon.stream.Exceptional
-
Returns inner value if there were no exceptions, otherwise throws an exception.
- getOrThrow(E) - Method in class com.annimon.stream.Exceptional
-
Returns inner value if there were no exceptions, otherwise throws the given exception.
- getOrThrowRuntimeException() - Method in class com.annimon.stream.Exceptional
-
Returns inner value if there were no exceptions, otherwise throws RuntimeException.
- getRandom() - Method in class com.annimon.stream.RandomCompat
-
Returns underlying
Random instance.
- getSecond() - Method in class com.annimon.stream.IntPair
-
A second element in a pair.
- groupBy(Function<? super T, ? extends K>) - Method in class com.annimon.stream.Stream
-
Partitions Stream into Map entries according to the given classifier function.
- groupingBy(Function<? super T, ? extends K>) - Static method in class com.annimon.stream.Collectors
-
Returns a Collector that performs grouping operation by given classifier.
- groupingBy(Function<? super T, ? extends K>, Collector<? super T, A, D>) - Static method in class com.annimon.stream.Collectors
-
Returns a Collector that performs grouping operation by given classifier.
- groupingBy(Function<? super T, ? extends K>, Supplier<M>, Collector<? super T, A, D>) - Static method in class com.annimon.stream.Collectors
-
Returns a Collector that performs grouping operation by given classifier.
- identity() - Static method in class com.annimon.stream.function.BooleanPredicate.Util
-
Returns a predicate that always returns its input argument.
- identity() - Static method in class com.annimon.stream.function.DoubleUnaryOperator.Util
-
Returns a unary operator that always returns its input argument.
- identity() - Static method in class com.annimon.stream.function.IntUnaryOperator.Util
-
Returns a unary operator that always returns its input argument.
- identity() - Static method in class com.annimon.stream.function.LongUnaryOperator.Util
-
Returns a unary operator that always returns its input argument.
- identity() - Static method in class com.annimon.stream.function.UnaryOperator.Util
-
Returns a unary operator that always returns its input argument.
- ifException(Consumer<Throwable>) - Method in class com.annimon.stream.Exceptional
-
Invokes consumer function if there were any exception.
- ifExceptionIs(Class<E>, Consumer<? super E>) - Method in class com.annimon.stream.Exceptional
-
Invokes consumer function if exception class matches throwableClass.
- ifPresent(Consumer<? super T>) - Method in class com.annimon.stream.Exceptional
-
Invokes consumer function with value if present.
- ifPresent(Consumer<? super T>) - Method in class com.annimon.stream.Optional
-
Invokes consumer function with value if present.
- ifPresent(BooleanConsumer) - Method in class com.annimon.stream.OptionalBoolean
-
Invokes consumer function with value if present, otherwise does nothing.
- ifPresent(DoubleConsumer) - Method in class com.annimon.stream.OptionalDouble
-
Invokes consumer function with value if present, otherwise does nothing.
- ifPresent(IntConsumer) - Method in class com.annimon.stream.OptionalInt
-
Invokes consumer function with value if present, otherwise does nothing.
- ifPresent(LongConsumer) - Method in class com.annimon.stream.OptionalLong
-
Invokes consumer function with value if present, otherwise does nothing.
- ifPresentOrElse(Consumer<? super T>, Runnable) - Method in class com.annimon.stream.Optional
-
If a value is present, performs the given action with the value, otherwise performs the given empty-based action.
- ifPresentOrElse(BooleanConsumer, Runnable) - Method in class com.annimon.stream.OptionalBoolean
-
If a value is present, performs the given action with the value,
otherwise performs the empty-based action.
- ifPresentOrElse(DoubleConsumer, Runnable) - Method in class com.annimon.stream.OptionalDouble
-
If a value is present, performs the given action with the value,
otherwise performs the empty-based action.
- ifPresentOrElse(IntConsumer, Runnable) - Method in class com.annimon.stream.OptionalInt
-
If a value is present, performs the given action with the value,
otherwise performs the empty-based action.
- ifPresentOrElse(LongConsumer, Runnable) - Method in class com.annimon.stream.OptionalLong
-
If a value is present, performs the given action with the value,
otherwise performs the empty-based action.
- indexed() - Method in class com.annimon.stream.Stream
-
Returns Stream with indexed elements.
- indexed(int, int) - Method in class com.annimon.stream.Stream
-
Returns Stream with indexed elements.
- IndexedBiFunction<T,U,R> - Interface in com.annimon.stream.function
-
Represents a function which produces result from index and two input arguments.
- IndexedBiFunction.Util - Class in com.annimon.stream.function
-
- IndexedConsumer<T> - Interface in com.annimon.stream.function
-
Represents an operation on index and input argument.
- IndexedConsumer.Util - Class in com.annimon.stream.function
-
- IndexedDoubleConsumer - Interface in com.annimon.stream.function
-
Represents an operation on index and input argument.
- IndexedDoubleConsumer.Util - Class in com.annimon.stream.function
-
- IndexedDoubleFunction<R> - Interface in com.annimon.stream.function
-
Represents a function which produces result from index and input argument.
- IndexedDoubleFunction.Util - Class in com.annimon.stream.function
-
- IndexedDoublePredicate - Interface in com.annimon.stream.function
-
Represents a predicate (function with boolean type result) with additional index argument.
- IndexedDoublePredicate.Util - Class in com.annimon.stream.function
-
- IndexedDoubleUnaryOperator - Interface in com.annimon.stream.function
-
Represents an operation on index and input double-valued operand
that produces a double-valued result.
- IndexedDoubleUnaryOperator.Util - Class in com.annimon.stream.function
-
- IndexedFunction<T,R> - Interface in com.annimon.stream.function
-
Represents a function which produces result from index and input argument.
- IndexedFunction.Util - Class in com.annimon.stream.function
-
- IndexedIntConsumer - Interface in com.annimon.stream.function
-
Represents an operation on index and input argument.
- IndexedIntConsumer.Util - Class in com.annimon.stream.function
-
- IndexedIntFunction<R> - Interface in com.annimon.stream.function
-
Represents a function which produces result from index and input argument.
- IndexedIntFunction.Util - Class in com.annimon.stream.function
-
- IndexedIntPredicate - Interface in com.annimon.stream.function
-
Represents a predicate (function with boolean type result) with additional index argument.
- IndexedIntPredicate.Util - Class in com.annimon.stream.function
-
- IndexedIterator<T> - Class in com.annimon.stream.iterator
-
Iterator wrapper that supports indexing.
- IndexedIterator(Iterator<? extends T>) - Constructor for class com.annimon.stream.iterator.IndexedIterator
-
- IndexedIterator(int, int, Iterator<? extends T>) - Constructor for class com.annimon.stream.iterator.IndexedIterator
-
- IndexedLongConsumer - Interface in com.annimon.stream.function
-
Represents an operation on index and input argument.
- IndexedLongConsumer.Util - Class in com.annimon.stream.function
-
- IndexedLongFunction<R> - Interface in com.annimon.stream.function
-
Represents a function which produces result from index and input argument.
- IndexedLongFunction.Util - Class in com.annimon.stream.function
-
- IndexedLongPredicate - Interface in com.annimon.stream.function
-
Represents a predicate (function with boolean type result) with additional index argument.
- IndexedLongPredicate.Util - Class in com.annimon.stream.function
-
- IndexedLongUnaryOperator - Interface in com.annimon.stream.function
-
Represents an operation on index and input long-valued operand
that produces a long-valued result.
- IndexedLongUnaryOperator.Util - Class in com.annimon.stream.function
-
- IndexedPredicate<T> - Interface in com.annimon.stream.function
-
Represents a predicate (function with boolean type result) with additional index argument.
- IndexedPredicate.Util - Class in com.annimon.stream.function
-
- IntArray - Class in com.annimon.stream.operator
-
- IntArray(int[]) - Constructor for class com.annimon.stream.operator.IntArray
-
- IntBinaryOperator - Interface in com.annimon.stream.function
-
Represents an operation upon two int-valued operands and producing an
int-valued result.
- IntCodePoints - Class in com.annimon.stream.operator
-
- IntCodePoints(CharSequence) - Constructor for class com.annimon.stream.operator.IntCodePoints
-
- IntConcat - Class in com.annimon.stream.operator
-
- IntConcat(PrimitiveIterator.OfInt, PrimitiveIterator.OfInt) - Constructor for class com.annimon.stream.operator.IntConcat
-
- IntConsumer - Interface in com.annimon.stream.function
-
Represents an operation that accepts a single int-valued argument and
returns no result.
- IntConsumer.Util - Class in com.annimon.stream.function
-
- IntDropWhile - Class in com.annimon.stream.operator
-
- IntDropWhile(PrimitiveIterator.OfInt, IntPredicate) - Constructor for class com.annimon.stream.operator.IntDropWhile
-
- IntFilter - Class in com.annimon.stream.operator
-
- IntFilter(PrimitiveIterator.OfInt, IntPredicate) - Constructor for class com.annimon.stream.operator.IntFilter
-
- IntFilterIndexed - Class in com.annimon.stream.operator
-
- IntFilterIndexed(PrimitiveIndexedIterator.OfInt, IndexedIntPredicate) - Constructor for class com.annimon.stream.operator.IntFilterIndexed
-
- IntFlatMap - Class in com.annimon.stream.operator
-
- IntFlatMap(PrimitiveIterator.OfInt, IntFunction<? extends IntStream>) - Constructor for class com.annimon.stream.operator.IntFlatMap
-
- IntFunction<R> - Interface in com.annimon.stream.function
-
Represents a function that accepts an int-valued argument and produces a
result.
- IntFunction.Util - Class in com.annimon.stream.function
-
- IntGenerate - Class in com.annimon.stream.operator
-
- IntGenerate(IntSupplier) - Constructor for class com.annimon.stream.operator.IntGenerate
-
- IntIterate - Class in com.annimon.stream.operator
-
- IntIterate(int, IntUnaryOperator) - Constructor for class com.annimon.stream.operator.IntIterate
-
- IntLimit - Class in com.annimon.stream.operator
-
- IntLimit(PrimitiveIterator.OfInt, long) - Constructor for class com.annimon.stream.operator.IntLimit
-
- IntMap - Class in com.annimon.stream.operator
-
- IntMap(PrimitiveIterator.OfInt, IntUnaryOperator) - Constructor for class com.annimon.stream.operator.IntMap
-
- IntMapIndexed - Class in com.annimon.stream.operator
-
- IntMapIndexed(PrimitiveIndexedIterator.OfInt, IntBinaryOperator) - Constructor for class com.annimon.stream.operator.IntMapIndexed
-
- IntMapToDouble - Class in com.annimon.stream.operator
-
- IntMapToDouble(PrimitiveIterator.OfInt, IntToDoubleFunction) - Constructor for class com.annimon.stream.operator.IntMapToDouble
-
- IntMapToLong - Class in com.annimon.stream.operator
-
- IntMapToLong(PrimitiveIterator.OfInt, IntToLongFunction) - Constructor for class com.annimon.stream.operator.IntMapToLong
-
- IntMapToObj<R> - Class in com.annimon.stream.operator
-
- IntMapToObj(PrimitiveIterator.OfInt, IntFunction<? extends R>) - Constructor for class com.annimon.stream.operator.IntMapToObj
-
- IntPair<T> - Class in com.annimon.stream
-
A pair with int-valued first element and object-valued second element.
- IntPair(int, T) - Constructor for class com.annimon.stream.IntPair
-
- IntPeek - Class in com.annimon.stream.operator
-
- IntPeek(PrimitiveIterator.OfInt, IntConsumer) - Constructor for class com.annimon.stream.operator.IntPeek
-
- IntPredicate - Interface in com.annimon.stream.function
-
Represents a predicate (function with boolean type result).
- IntPredicate.Util - Class in com.annimon.stream.function
-
- IntRangeClosed - Class in com.annimon.stream.operator
-
- IntRangeClosed(int, int) - Constructor for class com.annimon.stream.operator.IntRangeClosed
-
- ints(long) - Method in class com.annimon.stream.RandomCompat
-
Returns a stream producing the given streamSize number of
pseudorandom int values.
- ints() - Method in class com.annimon.stream.RandomCompat
-
Returns an effectively unlimited stream of pseudorandom int
values.
- ints(long, int, int) - Method in class com.annimon.stream.RandomCompat
-
Returns a stream producing the given streamSize number
of pseudorandom int values, each conforming to the given
origin (inclusive) and bound (exclusive).
- ints(int, int) - Method in class com.annimon.stream.RandomCompat
-
Returns an effectively unlimited stream of pseudorandom int
values, each conforming to the given origin (inclusive) and bound (exclusive)
- IntSample - Class in com.annimon.stream.operator
-
- IntSample(PrimitiveIterator.OfInt, int) - Constructor for class com.annimon.stream.operator.IntSample
-
- IntScan - Class in com.annimon.stream.operator
-
- IntScan(PrimitiveIterator.OfInt, IntBinaryOperator) - Constructor for class com.annimon.stream.operator.IntScan
-
- IntScanIdentity - Class in com.annimon.stream.operator
-
- IntScanIdentity(PrimitiveIterator.OfInt, int, IntBinaryOperator) - Constructor for class com.annimon.stream.operator.IntScanIdentity
-
- IntSkip - Class in com.annimon.stream.operator
-
- IntSkip(PrimitiveIterator.OfInt, long) - Constructor for class com.annimon.stream.operator.IntSkip
-
- IntSorted - Class in com.annimon.stream.operator
-
- IntSorted(PrimitiveIterator.OfInt) - Constructor for class com.annimon.stream.operator.IntSorted
-
- IntStream - Class in com.annimon.stream
-
A sequence of primitive int-valued elements supporting sequential operations.
- IntSupplier - Interface in com.annimon.stream.function
-
Represents a supplier of int-valued results.
- IntSupplier.Util - Class in com.annimon.stream.function
-
- IntTakeUntil - Class in com.annimon.stream.operator
-
- IntTakeUntil(PrimitiveIterator.OfInt, IntPredicate) - Constructor for class com.annimon.stream.operator.IntTakeUntil
-
- IntTakeWhile - Class in com.annimon.stream.operator
-
- IntTakeWhile(PrimitiveIterator.OfInt, IntPredicate) - Constructor for class com.annimon.stream.operator.IntTakeWhile
-
- IntToDoubleFunction - Interface in com.annimon.stream.function
-
Represents a function which produces an double-valued result from input argument.
- IntToLongFunction - Interface in com.annimon.stream.function
-
Represents a function which produces an long-valued result from input argument.
- IntUnaryOperator - Interface in com.annimon.stream.function
-
Represents an operation on a single int-valued operand that produces an int-valued result.
- IntUnaryOperator.Util - Class in com.annimon.stream.function
-
- isEmpty() - Method in class com.annimon.stream.Optional
-
Checks the value is not present.
- isEmpty() - Method in class com.annimon.stream.OptionalBoolean
-
Checks the value is not present.
- isEmpty() - Method in class com.annimon.stream.OptionalDouble
-
Checks the value is not present.
- isEmpty() - Method in class com.annimon.stream.OptionalInt
-
Checks the value is not present.
- isEmpty() - Method in class com.annimon.stream.OptionalLong
-
Checks the value is not present.
- isInit - Variable in class com.annimon.stream.iterator.LsaExtIterator
-
- isInit - Variable in class com.annimon.stream.iterator.PrimitiveExtIterator.OfDouble
-
- isInit - Variable in class com.annimon.stream.iterator.PrimitiveExtIterator.OfInt
-
- isInit - Variable in class com.annimon.stream.iterator.PrimitiveExtIterator.OfLong
-
- isNull(Object) - Static method in class com.annimon.stream.Objects
-
Checks that object reference is null.
- isPresent() - Method in class com.annimon.stream.Exceptional
-
Checks value present (i.e. there were no exceptions).
- isPresent() - Method in class com.annimon.stream.Optional
-
Checks value present.
- isPresent() - Method in class com.annimon.stream.OptionalBoolean
-
Checks value present.
- isPresent() - Method in class com.annimon.stream.OptionalDouble
-
Checks value present.
- isPresent() - Method in class com.annimon.stream.OptionalInt
-
Return true if there is a value present, otherwise false.
- isPresent() - Method in class com.annimon.stream.OptionalLong
-
Checks value present.
- iterate(double, DoubleUnaryOperator) - Static method in class com.annimon.stream.DoubleStream
-
Creates a DoubleStream by iterative application DoubleUnaryOperator function
to an initial element seed.
- iterate(double, DoublePredicate, DoubleUnaryOperator) - Static method in class com.annimon.stream.DoubleStream
-
Creates an DoubleStream by iterative application DoubleUnaryOperator function
to an initial element seed, conditioned on satisfying the supplied predicate.
- iterate(int, IntUnaryOperator) - Static method in class com.annimon.stream.IntStream
-
Returns an infinite sequential ordered IntStream produced by iterative
application of a function f to an initial element seed,
producing a Stream consisting of seed, f(seed),
f(f(seed)), etc.
- iterate(int, IntPredicate, IntUnaryOperator) - Static method in class com.annimon.stream.IntStream
-
Creates an IntStream by iterative application IntUnaryOperator function
to an initial element seed, conditioned on satisfying the supplied predicate.
- iterate(long, LongUnaryOperator) - Static method in class com.annimon.stream.LongStream
-
Creates a LongStream by iterative application LongUnaryOperator function
to an initial element seed.
- iterate(long, LongPredicate, LongUnaryOperator) - Static method in class com.annimon.stream.LongStream
-
Creates an LongStream by iterative application LongUnaryOperator function
to an initial element seed, conditioned on satisfying the supplied predicate.
- iterate(T, UnaryOperator<T>) - Static method in class com.annimon.stream.Stream
-
Creates a Stream by iterative application UnaryOperator function
to an initial element seed.
- iterate(T, Predicate<? super T>, UnaryOperator<T>) - Static method in class com.annimon.stream.Stream
-
Creates a Stream by iterative application UnaryOperator function
to an initial element seed, conditioned on satisfying the supplied predicate.
- iterator() - Method in class com.annimon.stream.DoubleStream
-
Returns internal DoubleStream iterator.
- iterator() - Method in class com.annimon.stream.IntStream
-
Returns internal IntStream iterator.
- iterator() - Method in class com.annimon.stream.LongStream
-
Returns internal LongStream iterator.
- iterator() - Method in class com.annimon.stream.Stream
-
Returns internal stream iterator.
- LazyIterator<T> - Class in com.annimon.stream.iterator
-
Lazily gets
Iterator from the given
Iterable.
- LazyIterator(Iterable<? extends T>) - Constructor for class com.annimon.stream.iterator.LazyIterator
-
- limit(long) - Method in class com.annimon.stream.DoubleStream
-
Returns a stream consisting of the elements of this stream, truncated
to be no longer than maxSize in length.
- limit(long) - Method in class com.annimon.stream.IntStream
-
Returns a stream consisting of the elements of this stream, truncated
to be no longer than maxSize in length.
- limit(long) - Method in class com.annimon.stream.LongStream
-
Returns a stream consisting of the elements of this stream, truncated
to be no longer than maxSize in length.
- limit(long) - Method in class com.annimon.stream.Stream
-
Returns Stream with first maxSize elements.
- LongArray - Class in com.annimon.stream.operator
-
- LongArray(long[]) - Constructor for class com.annimon.stream.operator.LongArray
-
- LongBinaryOperator - Interface in com.annimon.stream.function
-
Represents an operation on two long-valued operands
that produces a long-valued result.
- LongConcat - Class in com.annimon.stream.operator
-
- LongConcat(PrimitiveIterator.OfLong, PrimitiveIterator.OfLong) - Constructor for class com.annimon.stream.operator.LongConcat
-
- LongConsumer - Interface in com.annimon.stream.function
-
Represents an operation on a long-valued input argument.
- LongConsumer.Util - Class in com.annimon.stream.function
-
- LongDropWhile - Class in com.annimon.stream.operator
-
- LongDropWhile(PrimitiveIterator.OfLong, LongPredicate) - Constructor for class com.annimon.stream.operator.LongDropWhile
-
- LongFilter - Class in com.annimon.stream.operator
-
- LongFilter(PrimitiveIterator.OfLong, LongPredicate) - Constructor for class com.annimon.stream.operator.LongFilter
-
- LongFilterIndexed - Class in com.annimon.stream.operator
-
- LongFilterIndexed(PrimitiveIndexedIterator.OfLong, IndexedLongPredicate) - Constructor for class com.annimon.stream.operator.LongFilterIndexed
-
- LongFlatMap - Class in com.annimon.stream.operator
-
- LongFlatMap(PrimitiveIterator.OfLong, LongFunction<? extends LongStream>) - Constructor for class com.annimon.stream.operator.LongFlatMap
-
- LongFunction<R> - Interface in com.annimon.stream.function
-
Represents a function which produces result from long-valued input argument.
- LongFunction.Util - Class in com.annimon.stream.function
-
- LongGenerate - Class in com.annimon.stream.operator
-
- LongGenerate(LongSupplier) - Constructor for class com.annimon.stream.operator.LongGenerate
-
- LongIterate - Class in com.annimon.stream.operator
-
- LongIterate(long, LongUnaryOperator) - Constructor for class com.annimon.stream.operator.LongIterate
-
- LongLimit - Class in com.annimon.stream.operator
-
- LongLimit(PrimitiveIterator.OfLong, long) - Constructor for class com.annimon.stream.operator.LongLimit
-
- LongMap - Class in com.annimon.stream.operator
-
- LongMap(PrimitiveIterator.OfLong, LongUnaryOperator) - Constructor for class com.annimon.stream.operator.LongMap
-
- LongMapIndexed - Class in com.annimon.stream.operator
-
- LongMapIndexed(PrimitiveIndexedIterator.OfLong, IndexedLongUnaryOperator) - Constructor for class com.annimon.stream.operator.LongMapIndexed
-
- LongMapToDouble - Class in com.annimon.stream.operator
-
- LongMapToDouble(PrimitiveIterator.OfLong, LongToDoubleFunction) - Constructor for class com.annimon.stream.operator.LongMapToDouble
-
- LongMapToInt - Class in com.annimon.stream.operator
-
- LongMapToInt(PrimitiveIterator.OfLong, LongToIntFunction) - Constructor for class com.annimon.stream.operator.LongMapToInt
-
- LongMapToObj<R> - Class in com.annimon.stream.operator
-
- LongMapToObj(PrimitiveIterator.OfLong, LongFunction<? extends R>) - Constructor for class com.annimon.stream.operator.LongMapToObj
-
- LongPeek - Class in com.annimon.stream.operator
-
- LongPeek(PrimitiveIterator.OfLong, LongConsumer) - Constructor for class com.annimon.stream.operator.LongPeek
-
- LongPredicate - Interface in com.annimon.stream.function
-
Represents a long-valued predicate (function with boolean type result).
- LongPredicate.Util - Class in com.annimon.stream.function
-
- LongRangeClosed - Class in com.annimon.stream.operator
-
- LongRangeClosed(long, long) - Constructor for class com.annimon.stream.operator.LongRangeClosed
-
- longs(long) - Method in class com.annimon.stream.RandomCompat
-
Returns a stream producing the given streamSize number of
pseudorandom long values, each between zero (inclusive)
and one (exclusive).
- longs() - Method in class com.annimon.stream.RandomCompat
-
Returns an effectively unlimited stream of pseudorandom long values,
each between zero (inclusive) and one (exclusive).
- longs(long, long, long) - Method in class com.annimon.stream.RandomCompat
-
Returns a stream producing the given streamSize number
of pseudorandom long values, each conforming
to the given origin (inclusive) and bound (exclusive).
- longs(long, long) - Method in class com.annimon.stream.RandomCompat
-
Returns an effectively unlimited stream of pseudorandom long
values, each conforming to the given origin (inclusive) and bound (exclusive)
- LongSample - Class in com.annimon.stream.operator
-
- LongSample(PrimitiveIterator.OfLong, int) - Constructor for class com.annimon.stream.operator.LongSample
-
- LongScan - Class in com.annimon.stream.operator
-
- LongScan(PrimitiveIterator.OfLong, LongBinaryOperator) - Constructor for class com.annimon.stream.operator.LongScan
-
- LongScanIdentity - Class in com.annimon.stream.operator
-
- LongScanIdentity(PrimitiveIterator.OfLong, long, LongBinaryOperator) - Constructor for class com.annimon.stream.operator.LongScanIdentity
-
- LongSkip - Class in com.annimon.stream.operator
-
- LongSkip(PrimitiveIterator.OfLong, long) - Constructor for class com.annimon.stream.operator.LongSkip
-
- LongSorted - Class in com.annimon.stream.operator
-
- LongSorted(PrimitiveIterator.OfLong) - Constructor for class com.annimon.stream.operator.LongSorted
-
- LongStream - Class in com.annimon.stream
-
A sequence of long-valued elements supporting aggregate operations.
- LongSupplier - Interface in com.annimon.stream.function
-
Represents a supplier of long-valued results.
- LongSupplier.Util - Class in com.annimon.stream.function
-
- LongTakeUntil - Class in com.annimon.stream.operator
-
- LongTakeUntil(PrimitiveIterator.OfLong, LongPredicate) - Constructor for class com.annimon.stream.operator.LongTakeUntil
-
- LongTakeWhile - Class in com.annimon.stream.operator
-
- LongTakeWhile(PrimitiveIterator.OfLong, LongPredicate) - Constructor for class com.annimon.stream.operator.LongTakeWhile
-
- LongToDoubleFunction - Interface in com.annimon.stream.function
-
Represents a function which produces an double-valued result from input argument.
- LongToIntFunction - Interface in com.annimon.stream.function
-
Represents a function which produces an int-valued result from input argument.
- LongUnaryOperator - Interface in com.annimon.stream.function
-
Represents an operation on a single long-valued operand
that produces a long-valued result.
- LongUnaryOperator.Util - Class in com.annimon.stream.function
-
- LsaExtIterator<T> - Class in com.annimon.stream.iterator
-
Extended iterator for common purposes.
- LsaExtIterator() - Constructor for class com.annimon.stream.iterator.LsaExtIterator
-
- LsaIterator<T> - Class in com.annimon.stream.iterator
-
Abstract iterator with implemented remove method.
- LsaIterator() - Constructor for class com.annimon.stream.iterator.LsaIterator
-
- map(DoubleUnaryOperator) - Method in class com.annimon.stream.DoubleStream
-
Returns an DoubleStream consisting of the results of applying the given
function to the elements of this stream.
- map(ThrowableFunction<? super T, ? extends U, Throwable>) - Method in class com.annimon.stream.Exceptional
-
Invokes mapping function on inner value if there were no exceptions.
- map(IntUnaryOperator) - Method in class com.annimon.stream.IntStream
-
Returns an IntStream consisting of the results of applying the given
function to the elements of this stream.
- map(LongUnaryOperator) - Method in class com.annimon.stream.LongStream
-
Returns an LongStream consisting of the results of applying the given
function to the elements of this stream.
- map(Function<? super T, ? extends U>) - Method in class com.annimon.stream.Optional
-
Invokes the given mapping function on inner value if present.
- map(BooleanPredicate) - Method in class com.annimon.stream.OptionalBoolean
-
Invokes the given mapping function on inner value if present.
- map(DoubleUnaryOperator) - Method in class com.annimon.stream.OptionalDouble
-
Invokes the given mapping function on inner value if present.
- map(IntUnaryOperator) - Method in class com.annimon.stream.OptionalInt
-
Invokes mapping function on inner value if present.
- map(LongUnaryOperator) - Method in class com.annimon.stream.OptionalLong
-
Invokes the given mapping function on inner value if present.
- map(Function<? super T, ? extends R>) - Method in class com.annimon.stream.Stream
-
Returns Stream with elements that obtained by applying the given function.
- mapIndexed(IndexedDoubleUnaryOperator) - Method in class com.annimon.stream.DoubleStream
-
Returns a DoubleStream with elements that obtained
by applying the given IndexedDoubleUnaryOperator.
- mapIndexed(int, int, IndexedDoubleUnaryOperator) - Method in class com.annimon.stream.DoubleStream
-
Returns a DoubleStream with elements that obtained
by applying the given IndexedDoubleUnaryOperator.
- mapIndexed(IntBinaryOperator) - Method in class com.annimon.stream.IntStream
-
Returns an IntStream with elements that obtained by applying the given IntBinaryOperator.
- mapIndexed(int, int, IntBinaryOperator) - Method in class com.annimon.stream.IntStream
-
Returns an IntStream with elements that obtained by applying the given IntBinaryOperator.
- mapIndexed(IndexedLongUnaryOperator) - Method in class com.annimon.stream.LongStream
-
Returns a LongStream with elements that obtained
by applying the given IndexedLongUnaryOperator.
- mapIndexed(int, int, IndexedLongUnaryOperator) - Method in class com.annimon.stream.LongStream
-
Returns a LongStream with elements that obtained
by applying the given IndexedLongUnaryOperator.
- mapIndexed(IndexedFunction<? super T, ? extends R>) - Method in class com.annimon.stream.Stream
-
Returns a Stream with elements that obtained by applying the given IndexedFunction.
- mapIndexed(int, int, IndexedFunction<? super T, ? extends R>) - Method in class com.annimon.stream.Stream
-
Returns a Stream with elements that obtained by applying the given IndexedFunction.
- mapping(Function<? super T, ? extends U>, Collector<? super U, A, R>) - Static method in class com.annimon.stream.Collectors
-
Returns a Collector that performs mapping before accumulation.
- mapToBoolean(ToBooleanFunction<? super T>) - Method in class com.annimon.stream.Optional
-
Invokes mapping function on inner value if present.
- mapToDouble(IntToDoubleFunction) - Method in class com.annimon.stream.IntStream
-
Returns a DoubleStream consisting of the results of applying the given
function to the elements of this stream.
- mapToDouble(LongToDoubleFunction) - Method in class com.annimon.stream.LongStream
-
Returns an DoubleStream consisting of the results of applying the given
function to the elements of this stream.
- mapToDouble(ToDoubleFunction<? super T>) - Method in class com.annimon.stream.Optional
-
Invokes mapping function on inner value if present.
- mapToDouble(IntToDoubleFunction) - Method in class com.annimon.stream.OptionalInt
-
Invokes mapping function on inner value if present.
- mapToDouble(ToDoubleFunction<? super T>) - Method in class com.annimon.stream.Stream
-
Returns DoubleStream with elements that obtained by applying the given function.
- mapToInt(DoubleToIntFunction) - Method in class com.annimon.stream.DoubleStream
-
Returns an IntStream consisting of the results of applying the given
function to the elements of this stream.
- mapToInt(LongToIntFunction) - Method in class com.annimon.stream.LongStream
-
Returns an IntStream consisting of the results of applying the given
function to the elements of this stream.
- mapToInt(ToIntFunction<? super T>) - Method in class com.annimon.stream.Optional
-
Invokes the given mapping function on inner value if present.
- mapToInt(DoubleToIntFunction) - Method in class com.annimon.stream.OptionalDouble
-
Invokes the given mapping function on inner value if present.
- mapToInt(LongToIntFunction) - Method in class com.annimon.stream.OptionalLong
-
Invokes the given mapping function on inner value if present.
- mapToInt(ToIntFunction<? super T>) - Method in class com.annimon.stream.Stream
-
Returns IntStream with elements that obtained by applying the given function.
- mapToLong(DoubleToLongFunction) - Method in class com.annimon.stream.DoubleStream
-
Returns an LongStream consisting of the results of applying the given
function to the elements of this stream.
- mapToLong(IntToLongFunction) - Method in class com.annimon.stream.IntStream
-
Returns a LongStream consisting of the results of applying the given
function to the elements of this stream.
- mapToLong(ToLongFunction<? super T>) - Method in class com.annimon.stream.Optional
-
Invokes mapping function on inner value if present.
- mapToLong(DoubleToLongFunction) - Method in class com.annimon.stream.OptionalDouble
-
Invokes the given mapping function on inner value if present.
- mapToLong(IntToLongFunction) - Method in class com.annimon.stream.OptionalInt
-
Invokes mapping function on inner value if present.
- mapToLong(ToLongFunction<? super T>) - Method in class com.annimon.stream.Stream
-
Returns LongStream with elements that obtained by applying the given function.
- mapToObj(DoubleFunction<? extends R>) - Method in class com.annimon.stream.DoubleStream
-
Returns a Stream consisting of the results of applying the given
function to the elements of this stream.
- mapToObj(IntFunction<? extends R>) - Method in class com.annimon.stream.IntStream
-
Returns a Stream consisting of the results of applying the given
function to the elements of this stream.
- mapToObj(LongFunction<? extends R>) - Method in class com.annimon.stream.LongStream
-
Returns a Stream consisting of the results of applying the given
function to the elements of this stream.
- mapToObj(BooleanFunction<U>) - Method in class com.annimon.stream.OptionalBoolean
-
Invokes the given mapping function on inner value if present.
- mapToObj(DoubleFunction<U>) - Method in class com.annimon.stream.OptionalDouble
-
Invokes the given mapping function on inner value if present.
- mapToObj(IntFunction<U>) - Method in class com.annimon.stream.OptionalInt
-
Invokes mapping function on inner value if present.
- mapToObj(LongFunction<U>) - Method in class com.annimon.stream.OptionalLong
-
Invokes the given mapping function on inner value if present.
- max() - Method in class com.annimon.stream.DoubleStream
-
Returns an OptionalDouble describing the maximum element of this
stream, or an empty optional if this stream is empty.
- max() - Method in class com.annimon.stream.IntStream
-
Returns an OptionalInt describing the maximum element of this
stream, or an empty optional if this stream is empty.
- max() - Method in class com.annimon.stream.LongStream
-
Returns an OptionalLong describing the maximum element of this
stream, or an empty optional if this stream is empty.
- max(Comparator<? super T>) - Method in class com.annimon.stream.Stream
-
Finds the maximum element according to the given comparator.
- maxBy(Comparator<? super T>) - Static method in class com.annimon.stream.function.BinaryOperator.Util
-
Returns a BinaryOperator which returns greater of two elements
according to the specified Comparator.
- merge(Stream<? extends T>, Stream<? extends T>, BiFunction<? super T, ? super T, ObjMerge.MergeResult>) - Static method in class com.annimon.stream.Stream
-
Merges elements of two streams according to the supplied selector function.
- merge(Iterator<? extends T>, Iterator<? extends T>, BiFunction<? super T, ? super T, ObjMerge.MergeResult>) - Static method in class com.annimon.stream.Stream
-
Merges elements of two iterators according to the supplied selector function.
- min() - Method in class com.annimon.stream.DoubleStream
-
Returns an OptionalDouble describing the minimum element of this
stream, or an empty optional if this stream is empty.
- min() - Method in class com.annimon.stream.IntStream
-
Returns an OptionalInt describing the minimum element of this
stream, or an empty optional if this stream is empty.
- min() - Method in class com.annimon.stream.LongStream
-
Returns an OptionalLong describing the minimum element of this
stream, or an empty optional if this stream is empty.
- min(Comparator<? super T>) - Method in class com.annimon.stream.Stream
-
Finds the minimum element according to the given comparator.
- minBy(Comparator<? super T>) - Static method in class com.annimon.stream.function.BinaryOperator.Util
-
Returns a BinaryOperator which returns lesser of two elements
according to the specified Comparator.
- ObjArray<T> - Class in com.annimon.stream.operator
-
- ObjArray(T[]) - Constructor for class com.annimon.stream.operator.ObjArray
-
- ObjChunkBy<T,K> - Class in com.annimon.stream.operator
-
- ObjChunkBy(Iterator<? extends T>, Function<? super T, ? extends K>) - Constructor for class com.annimon.stream.operator.ObjChunkBy
-
- ObjConcat<T> - Class in com.annimon.stream.operator
-
- ObjConcat(Iterator<? extends T>, Iterator<? extends T>) - Constructor for class com.annimon.stream.operator.ObjConcat
-
- ObjDistinct<T> - Class in com.annimon.stream.operator
-
- ObjDistinct(Iterator<? extends T>) - Constructor for class com.annimon.stream.operator.ObjDistinct
-
- ObjDistinctBy<T,K> - Class in com.annimon.stream.operator
-
- ObjDistinctBy(Iterator<? extends T>, Function<? super T, ? extends K>) - Constructor for class com.annimon.stream.operator.ObjDistinctBy
-
- ObjDoubleConsumer<T> - Interface in com.annimon.stream.function
-
Represents an operation on two input arguments.
- ObjDropWhile<T> - Class in com.annimon.stream.operator
-
- ObjDropWhile(Iterator<? extends T>, Predicate<? super T>) - Constructor for class com.annimon.stream.operator.ObjDropWhile
-
- ObjDropWhileIndexed<T> - Class in com.annimon.stream.operator
-
- ObjDropWhileIndexed(IndexedIterator<? extends T>, IndexedPredicate<? super T>) - Constructor for class com.annimon.stream.operator.ObjDropWhileIndexed
-
- Objects - Class in com.annimon.stream
-
Common operations with Object.
- ObjFilter<T> - Class in com.annimon.stream.operator
-
- ObjFilter(Iterator<? extends T>, Predicate<? super T>) - Constructor for class com.annimon.stream.operator.ObjFilter
-
- ObjFilterIndexed<T> - Class in com.annimon.stream.operator
-
- ObjFilterIndexed(IndexedIterator<? extends T>, IndexedPredicate<? super T>) - Constructor for class com.annimon.stream.operator.ObjFilterIndexed
-
- ObjFlatMap<T,R> - Class in com.annimon.stream.operator
-
- ObjFlatMap(Iterator<? extends T>, Function<? super T, ? extends Stream<? extends R>>) - Constructor for class com.annimon.stream.operator.ObjFlatMap
-
- ObjFlatMapToDouble<T> - Class in com.annimon.stream.operator
-
- ObjFlatMapToDouble(Iterator<? extends T>, Function<? super T, ? extends DoubleStream>) - Constructor for class com.annimon.stream.operator.ObjFlatMapToDouble
-
- ObjFlatMapToInt<T> - Class in com.annimon.stream.operator
-
- ObjFlatMapToInt(Iterator<? extends T>, Function<? super T, ? extends IntStream>) - Constructor for class com.annimon.stream.operator.ObjFlatMapToInt
-
- ObjFlatMapToLong<T> - Class in com.annimon.stream.operator
-
- ObjFlatMapToLong(Iterator<? extends T>, Function<? super T, ? extends LongStream>) - Constructor for class com.annimon.stream.operator.ObjFlatMapToLong
-
- ObjGenerate<T> - Class in com.annimon.stream.operator
-
- ObjGenerate(Supplier<T>) - Constructor for class com.annimon.stream.operator.ObjGenerate
-
- ObjIntConsumer<T> - Interface in com.annimon.stream.function
-
Represents an operation on two input arguments.
- ObjIterate<T> - Class in com.annimon.stream.operator
-
- ObjIterate(T, UnaryOperator<T>) - Constructor for class com.annimon.stream.operator.ObjIterate
-
- ObjLimit<T> - Class in com.annimon.stream.operator
-
- ObjLimit(Iterator<? extends T>, long) - Constructor for class com.annimon.stream.operator.ObjLimit
-
- ObjLongConsumer<T> - Interface in com.annimon.stream.function
-
Represents an operation on two input arguments.
- ObjMap<T,R> - Class in com.annimon.stream.operator
-
- ObjMap(Iterator<? extends T>, Function<? super T, ? extends R>) - Constructor for class com.annimon.stream.operator.ObjMap
-
- ObjMapIndexed<T,R> - Class in com.annimon.stream.operator
-
- ObjMapIndexed(IndexedIterator<? extends T>, IndexedFunction<? super T, ? extends R>) - Constructor for class com.annimon.stream.operator.ObjMapIndexed
-
- ObjMapToDouble<T> - Class in com.annimon.stream.operator
-
- ObjMapToDouble(Iterator<? extends T>, ToDoubleFunction<? super T>) - Constructor for class com.annimon.stream.operator.ObjMapToDouble
-
- ObjMapToInt<T> - Class in com.annimon.stream.operator
-
- ObjMapToInt(Iterator<? extends T>, ToIntFunction<? super T>) - Constructor for class com.annimon.stream.operator.ObjMapToInt
-
- ObjMapToLong<T> - Class in com.annimon.stream.operator
-
- ObjMapToLong(Iterator<? extends T>, ToLongFunction<? super T>) - Constructor for class com.annimon.stream.operator.ObjMapToLong
-
- ObjMerge<T> - Class in com.annimon.stream.operator
-
- ObjMerge(Iterator<? extends T>, Iterator<? extends T>, BiFunction<? super T, ? super T, ObjMerge.MergeResult>) - Constructor for class com.annimon.stream.operator.ObjMerge
-
- ObjMerge.MergeResult - Enum in com.annimon.stream.operator
-
- ObjPeek<T> - Class in com.annimon.stream.operator
-
- ObjPeek(Iterator<? extends T>, Consumer<? super T>) - Constructor for class com.annimon.stream.operator.ObjPeek
-
- ObjScan<T> - Class in com.annimon.stream.operator
-
- ObjScan(Iterator<? extends T>, BiFunction<T, T, T>) - Constructor for class com.annimon.stream.operator.ObjScan
-
- ObjScanIdentity<T,R> - Class in com.annimon.stream.operator
-
- ObjScanIdentity(Iterator<? extends T>, R, BiFunction<? super R, ? super T, ? extends R>) - Constructor for class com.annimon.stream.operator.ObjScanIdentity
-
- ObjSkip<T> - Class in com.annimon.stream.operator
-
- ObjSkip(Iterator<? extends T>, long) - Constructor for class com.annimon.stream.operator.ObjSkip
-
- ObjSlidingWindow<T> - Class in com.annimon.stream.operator
-
- ObjSlidingWindow(Iterator<? extends T>, int, int) - Constructor for class com.annimon.stream.operator.ObjSlidingWindow
-
- ObjSorted<T> - Class in com.annimon.stream.operator
-
- ObjSorted(Iterator<? extends T>, Comparator<? super T>) - Constructor for class com.annimon.stream.operator.ObjSorted
-
- ObjTakeUntil<T> - Class in com.annimon.stream.operator
-
- ObjTakeUntil(Iterator<? extends T>, Predicate<? super T>) - Constructor for class com.annimon.stream.operator.ObjTakeUntil
-
- ObjTakeUntilIndexed<T> - Class in com.annimon.stream.operator
-
- ObjTakeUntilIndexed(IndexedIterator<? extends T>, IndexedPredicate<? super T>) - Constructor for class com.annimon.stream.operator.ObjTakeUntilIndexed
-
- ObjTakeWhile<T> - Class in com.annimon.stream.operator
-
- ObjTakeWhile(Iterator<? extends T>, Predicate<? super T>) - Constructor for class com.annimon.stream.operator.ObjTakeWhile
-
- ObjTakeWhileIndexed<T> - Class in com.annimon.stream.operator
-
- ObjTakeWhileIndexed(IndexedIterator<? extends T>, IndexedPredicate<? super T>) - Constructor for class com.annimon.stream.operator.ObjTakeWhileIndexed
-
- ObjZip<F,S,R> - Class in com.annimon.stream.operator
-
- ObjZip(Iterator<? extends F>, Iterator<? extends S>, BiFunction<? super F, ? super S, ? extends R>) - Constructor for class com.annimon.stream.operator.ObjZip
-
- of(PrimitiveIterator.OfDouble) - Static method in class com.annimon.stream.DoubleStream
-
Creates a DoubleStream from PrimitiveIterator.OfDouble.
- of(double...) - Static method in class com.annimon.stream.DoubleStream
-
Creates a DoubleStream from the specified values.
- of(double) - Static method in class com.annimon.stream.DoubleStream
-
Returns stream which contains single element passed as param
- of(ThrowableSupplier<T, Throwable>) - Static method in class com.annimon.stream.Exceptional
-
Returns an Exceptional with value provided by given ThrowableSupplier function.
- of(Throwable) - Static method in class com.annimon.stream.Exceptional
-
Returns an Exceptional with throwable already set.
- of(PrimitiveIterator.OfInt) - Static method in class com.annimon.stream.IntStream
-
Creates a IntStream from PrimitiveIterator.OfInt.
- of(int...) - Static method in class com.annimon.stream.IntStream
-
Returns stream whose elements are the specified values.
- of(int) - Static method in class com.annimon.stream.IntStream
-
Returns stream which contains single element passed as parameter.
- of(PrimitiveIterator.OfLong) - Static method in class com.annimon.stream.LongStream
-
Creates a LongStream from PrimitiveIterator.OfLong.
- of(long...) - Static method in class com.annimon.stream.LongStream
-
Creates a LongStream from the specified values.
- of(long) - Static method in class com.annimon.stream.LongStream
-
Returns stream which contains single element passed as param
- of(T) - Static method in class com.annimon.stream.Optional
-
Returns an Optional with the specified present non-null value.
- of(boolean) - Static method in class com.annimon.stream.OptionalBoolean
-
Returns an OptionalBoolean with the specified value present.
- of(double) - Static method in class com.annimon.stream.OptionalDouble
-
Returns an OptionalDouble with the specified value present.
- of(int) - Static method in class com.annimon.stream.OptionalInt
-
Return an OptionalInt with the specified value present.
- of(long) - Static method in class com.annimon.stream.OptionalLong
-
Returns an OptionalLong with the specified value present.
- of(Map<K, V>) - Static method in class com.annimon.stream.Stream
-
Creates a Stream from Map entries.
- of(Iterator<? extends T>) - Static method in class com.annimon.stream.Stream
-
Creates a Stream from any class that implements Iterator interface.
- of(Iterable<? extends T>) - Static method in class com.annimon.stream.Stream
-
Creates a Stream from any class that implements Iterable interface.
- of(T...) - Static method in class com.annimon.stream.Stream
-
Creates a Stream from the specified values.
- ofCodePoints(CharSequence) - Static method in class com.annimon.stream.IntStream
-
Creates an IntStream of code point values from the given sequence.
- OfDouble() - Constructor for class com.annimon.stream.iterator.PrimitiveExtIterator.OfDouble
-
- OfDouble(PrimitiveIterator.OfDouble) - Constructor for class com.annimon.stream.iterator.PrimitiveIndexedIterator.OfDouble
-
- OfDouble(int, int, PrimitiveIterator.OfDouble) - Constructor for class com.annimon.stream.iterator.PrimitiveIndexedIterator.OfDouble
-
- OfDouble() - Constructor for class com.annimon.stream.iterator.PrimitiveIterator.OfDouble
-
- OfInt() - Constructor for class com.annimon.stream.iterator.PrimitiveExtIterator.OfInt
-
- OfInt(PrimitiveIterator.OfInt) - Constructor for class com.annimon.stream.iterator.PrimitiveIndexedIterator.OfInt
-
- OfInt(int, int, PrimitiveIterator.OfInt) - Constructor for class com.annimon.stream.iterator.PrimitiveIndexedIterator.OfInt
-
- OfInt() - Constructor for class com.annimon.stream.iterator.PrimitiveIterator.OfInt
-
- OfLong() - Constructor for class com.annimon.stream.iterator.PrimitiveExtIterator.OfLong
-
- OfLong(PrimitiveIterator.OfLong) - Constructor for class com.annimon.stream.iterator.PrimitiveIndexedIterator.OfLong
-
- OfLong(int, int, PrimitiveIterator.OfLong) - Constructor for class com.annimon.stream.iterator.PrimitiveIndexedIterator.OfLong
-
- OfLong() - Constructor for class com.annimon.stream.iterator.PrimitiveIterator.OfLong
-
- ofNullable(T) - Static method in class com.annimon.stream.Optional
-
Returns an Optional with the specified value, or empty Optional if value is null.
- ofNullable(Boolean) - Static method in class com.annimon.stream.OptionalBoolean
-
Returns an OptionalBoolean with the specified value, or empty OptionalBoolean if value is null.
- ofNullable(Double) - Static method in class com.annimon.stream.OptionalDouble
-
Returns an OptionalDouble with the specified value, or empty OptionalDouble if value is null.
- ofNullable(Integer) - Static method in class com.annimon.stream.OptionalInt
-
Returns an OptionalInt with the specified value, or empty OptionalInt if value is null.
- ofNullable(Long) - Static method in class com.annimon.stream.OptionalLong
-
Returns an OptionalLong with the specified value, or empty OptionalLong if value is null.
- ofNullable(T) - Static method in class com.annimon.stream.Stream
-
If specified element is null, returns an empty Stream,
otherwise returns a Stream containing a single element.
- ofNullable(T[]) - Static method in class com.annimon.stream.Stream
-
If specified array is null, returns an empty Stream,
otherwise returns a Stream containing elements of this array.
- ofNullable(Map<K, V>) - Static method in class com.annimon.stream.Stream
-
If specified map is null, returns an empty Stream,
otherwise returns a Stream containing entries of this map.
- ofNullable(Iterator<? extends T>) - Static method in class com.annimon.stream.Stream
-
If specified iterator is null, returns an empty Stream,
otherwise returns a Stream containing entries of this iterator.
- ofNullable(Iterable<? extends T>) - Static method in class com.annimon.stream.Stream
-
If specified iterable is null, returns an empty Stream,
otherwise returns a Stream containing elements of this iterable.
- onClose(Runnable) - Method in class com.annimon.stream.DoubleStream
-
Adds close handler to the current stream.
- onClose(Runnable) - Method in class com.annimon.stream.IntStream
-
Adds close handler to the current stream.
- onClose(Runnable) - Method in class com.annimon.stream.LongStream
-
Adds close handler to the current stream.
- onClose(Runnable) - Method in class com.annimon.stream.Stream
-
Adds close handler to the current stream.
- Operators - Class in com.annimon.stream.internal
-
- Optional<T> - Class in com.annimon.stream
-
A container object which may or may not contain a non-null value.
- OptionalBoolean - Class in com.annimon.stream
-
A container object which may or may not contain a boolean value.
- OptionalDouble - Class in com.annimon.stream
-
A container object which may or may not contain a double value.
- OptionalInt - Class in com.annimon.stream
-
A container object which may or may not contain a int value.
- OptionalLong - Class in com.annimon.stream
-
A container object which may or may not contain a long value.
- or(Supplier<Exceptional<T>>) - Method in class com.annimon.stream.Exceptional
-
Returns current Exceptional if there were no exceptions, otherwise
returns an Exceptional produced by supplier function.
- or(BooleanPredicate, BooleanPredicate) - Static method in class com.annimon.stream.function.BooleanPredicate.Util
-
Applies logical OR to predicates.
- or(DoublePredicate, DoublePredicate) - Static method in class com.annimon.stream.function.DoublePredicate.Util
-
Applies logical OR to predicates.
- or(IntPredicate, IntPredicate) - Static method in class com.annimon.stream.function.IntPredicate.Util
-
Applies logical OR to predicates.
- or(LongPredicate, LongPredicate) - Static method in class com.annimon.stream.function.LongPredicate.Util
-
Applies logical OR to predicates.
- or(Predicate<? super T>, Predicate<? super T>) - Static method in class com.annimon.stream.function.Predicate.Util
-
Applies logical OR to predicates.
- or(Predicate<? super T>, Predicate<? super T>, Predicate<? super T>...) - Static method in class com.annimon.stream.function.Predicate.Util
-
Applies logical OR to multiple predicates.
- or(Supplier<Optional<T>>) - Method in class com.annimon.stream.Optional
-
Returns current Optional if value is present, otherwise
returns an Optional produced by supplier function.
- or(Supplier<OptionalBoolean>) - Method in class com.annimon.stream.OptionalBoolean
-
Returns current OptionalBoolean if value is present, otherwise
returns an OptionalBoolean produced by supplier function.
- or(Supplier<OptionalDouble>) - Method in class com.annimon.stream.OptionalDouble
-
Returns current OptionalDouble if value is present, otherwise
returns an OptionalDouble produced by supplier function.
- or(Supplier<OptionalInt>) - Method in class com.annimon.stream.OptionalInt
-
Returns current OptionalInt if value is present, otherwise
returns an OptionalInt produced by supplier function.
- or(Supplier<OptionalLong>) - Method in class com.annimon.stream.OptionalLong
-
Returns current OptionalLong if value is present, otherwise
returns an OptionalLong produced by supplier function.
- orElse(T) - Method in class com.annimon.stream.Optional
-
Returns inner value if present, otherwise returns other.
- orElse(boolean) - Method in class com.annimon.stream.OptionalBoolean
-
Returns inner value if present, otherwise returns other.
- orElse(double) - Method in class com.annimon.stream.OptionalDouble
-
Returns inner value if present, otherwise returns other.
- orElse(int) - Method in class com.annimon.stream.OptionalInt
-
Returns the value if present, otherwise returns other.
- orElse(long) - Method in class com.annimon.stream.OptionalLong
-
Returns inner value if present, otherwise returns other.
- orElseGet(Supplier<? extends T>) - Method in class com.annimon.stream.Optional
-
Returns inner value if present, otherwise returns value produced by supplier function.
- orElseGet(BooleanSupplier) - Method in class com.annimon.stream.OptionalBoolean
-
Returns the value if present, otherwise returns value produced by supplier function.
- orElseGet(DoubleSupplier) - Method in class com.annimon.stream.OptionalDouble
-
Returns the value if present, otherwise returns value produced by supplier function.
- orElseGet(IntSupplier) - Method in class com.annimon.stream.OptionalInt
-
Returns the value if present, otherwise invokes other and returns
the result of that invocation.
- orElseGet(LongSupplier) - Method in class com.annimon.stream.OptionalLong
-
Returns the value if present, otherwise returns value produced by supplier function.
- orElseThrow() - Method in class com.annimon.stream.Optional
-
Returns inner value if present, otherwise throws NoSuchElementException.
- orElseThrow(Supplier<? extends X>) - Method in class com.annimon.stream.Optional
-
Returns inner value if present, otherwise throws the exception provided by supplier function.
- orElseThrow() - Method in class com.annimon.stream.OptionalBoolean
-
Returns inner value if present, otherwise throws NoSuchElementException.
- orElseThrow(Supplier<X>) - Method in class com.annimon.stream.OptionalBoolean
-
Returns the value if present, otherwise throws an exception provided by supplier function.
- orElseThrow() - Method in class com.annimon.stream.OptionalDouble
-
Returns inner value if present, otherwise throws NoSuchElementException.
- orElseThrow(Supplier<X>) - Method in class com.annimon.stream.OptionalDouble
-
Returns the value if present, otherwise throws an exception provided by supplier function.
- orElseThrow() - Method in class com.annimon.stream.OptionalInt
-
Returns inner value if present, otherwise throws NoSuchElementException.
- orElseThrow(Supplier<X>) - Method in class com.annimon.stream.OptionalInt
-
Returns the value if present, otherwise throws an exception provided by supplier function.
- orElseThrow() - Method in class com.annimon.stream.OptionalLong
-
Returns inner value if present, otherwise throws NoSuchElementException.
- orElseThrow(Supplier<X>) - Method in class com.annimon.stream.OptionalLong
-
Returns the value if present, otherwise throws an exception provided by supplier function.
- RandomCompat - Class in com.annimon.stream
-
Backported stream apis from
Random class.
- RandomCompat() - Constructor for class com.annimon.stream.RandomCompat
-
Constructs object, inner random created with default constructor.
- RandomCompat(long) - Constructor for class com.annimon.stream.RandomCompat
-
Constructs object, inner random created with seed passed as param.
- RandomCompat(Random) - Constructor for class com.annimon.stream.RandomCompat
-
Constructs object with the given Random instance.
- range(int, int) - Static method in class com.annimon.stream.IntStream
-
Returns a sequential ordered IntStream from startInclusive
(inclusive) to endExclusive (exclusive) by an incremental step of
1.
- range(long, long) - Static method in class com.annimon.stream.LongStream
-
Returns a sequential ordered LongStream from startInclusive
(inclusive) to endExclusive (exclusive) by an incremental step of
1.
- range(int, int) - Static method in class com.annimon.stream.Stream
-
Creates a Stream<Integer> from not closed range
(from from inclusive to to exclusive and incremental step 1).
- range(long, long) - Static method in class com.annimon.stream.Stream
-
Creates a Stream<Long> from not closed range
(from from inclusive to to exclusive and incremental step 1).
- rangeClosed(int, int) - Static method in class com.annimon.stream.IntStream
-
Returns a sequential ordered IntStream from startInclusive
(inclusive) to endInclusive (inclusive) by an incremental step of
1.
- rangeClosed(long, long) - Static method in class com.annimon.stream.LongStream
-
Returns a sequential ordered LongStream from startInclusive
(inclusive) to endInclusive (inclusive) by an incremental step of
1.
- rangeClosed(int, int) - Static method in class com.annimon.stream.Stream
-
Creates a Stream<Integer> from closed range
(from from inclusive to to inclusive and incremental step 1).
- rangeClosed(long, long) - Static method in class com.annimon.stream.Stream
-
Creates a Stream<Long> from closed range
(from from inclusive to to inclusive and incremental step 1).
- recover(ThrowableFunction<Throwable, ? extends T, Throwable>) - Method in class com.annimon.stream.Exceptional
-
Returns current Exceptional if there were no exceptions, otherwise
calls function and wraps produced result with an Exceptional.
- recoverWith(Function<Throwable, ? extends Exceptional<T>>) - Method in class com.annimon.stream.Exceptional
-
Returns current Exceptional if there were no exceptions, otherwise
returns an Exceptional produced by function.
- reduce(double, DoubleBinaryOperator) - Method in class com.annimon.stream.DoubleStream
-
Performs a reduction on the elements of this stream, using the provided
identity value and an associative accumulation function, and returns the
reduced value.
- reduce(DoubleBinaryOperator) - Method in class com.annimon.stream.DoubleStream
-
Performs a reduction on the elements of this stream, using an
associative accumulation function, and returns an OptionalDouble
describing the reduced value, if any.
- reduce(int, IntBinaryOperator) - Method in class com.annimon.stream.IntStream
-
Performs a reduction on the elements of this stream, using the provided
identity value and an associative accumulation function, and returns the
reduced value.
- reduce(IntBinaryOperator) - Method in class com.annimon.stream.IntStream
-
Performs a reduction on the elements of this stream, using an
associative accumulation function, and returns an OptionalInt
describing the reduced value, if any.
- reduce(long, LongBinaryOperator) - Method in class com.annimon.stream.LongStream
-
Performs a reduction on the elements of this stream, using the provided
identity value and an associative accumulation function, and returns the
reduced value.
- reduce(LongBinaryOperator) - Method in class com.annimon.stream.LongStream
-
Performs a reduction on the elements of this stream, using an
associative accumulation function, and returns an OptionalLong
describing the reduced value, if any.
- reduce(R, BiFunction<? super R, ? super T, ? extends R>) - Method in class com.annimon.stream.Stream
-
Reduces the elements using provided identity value and the associative accumulation function.
- reduce(BiFunction<T, T, T>) - Method in class com.annimon.stream.Stream
-
Reduces the elements using provided associative accumulation function.
- reduceIndexed(R, IndexedBiFunction<? super R, ? super T, ? extends R>) - Method in class com.annimon.stream.Stream
-
Reduces the elements using provided identity value and
the associative accumulation indexed function.
- reduceIndexed(int, int, R, IndexedBiFunction<? super R, ? super T, ? extends R>) - Method in class com.annimon.stream.Stream
-
Reduces the elements using provided identity value and
the associative accumulation indexed function.
- reducing(T, BinaryOperator<T>) - Static method in class com.annimon.stream.Collectors
-
Returns a Collector that reduces input elements.
- reducing(R, Function<? super T, ? extends R>, BinaryOperator<R>) - Static method in class com.annimon.stream.Collectors
-
Returns a Collector that reduces input elements.
- remove() - Method in class com.annimon.stream.iterator.IndexedIterator
-
- remove() - Method in class com.annimon.stream.iterator.LazyIterator
-
- remove() - Method in class com.annimon.stream.iterator.LsaExtIterator
-
- remove() - Method in class com.annimon.stream.iterator.LsaIterator
-
- remove() - Method in class com.annimon.stream.iterator.PrimitiveIterator.OfDouble
-
- remove() - Method in class com.annimon.stream.iterator.PrimitiveIterator.OfInt
-
- remove() - Method in class com.annimon.stream.iterator.PrimitiveIterator.OfLong
-
- remove() - Method in class com.annimon.stream.operator.ObjFilter
-
- remove() - Method in class com.annimon.stream.operator.ObjFilterIndexed
-
- requireNonNull(T) - Static method in class com.annimon.stream.Objects
-
Checks that object reference is not null.
- requireNonNull(T, String) - Static method in class com.annimon.stream.Objects
-
Checks that object reference is not null.
- requireNonNull(T, Supplier<String>) - Static method in class com.annimon.stream.Objects
-
Checks that object reference is not null.
- requireNonNullElements(Collection<T>) - Static method in class com.annimon.stream.Objects
-
Checks that collection and its elements are non-null.
- requireNonNullElse(T, T) - Static method in class com.annimon.stream.Objects
-
Returns the first object if it is non-null,
returns the non-null second object otherwise.
- requireNonNullElseGet(T, Supplier<? extends T>) - Static method in class com.annimon.stream.Objects
-
Returns the first object if it is non-null,
returns the non-null supplier's result otherwise.
- reverse(BiFunction<? super T, ? super U, ? extends R>) - Static method in class com.annimon.stream.function.BiFunction.Util
-
Returns a BiFunction that reverses the input arguments order
of the specified BiFunction.
- reversed(Comparator<T>) - Static method in class com.annimon.stream.ComparatorCompat
-
Returns a comparator that reverses the order of the specified comparator.
- reversed() - Method in class com.annimon.stream.ComparatorCompat
-
Reverses the order of comparator.
- reverseOrder() - Static method in class com.annimon.stream.ComparatorCompat
-
Returns a comparator with reverse order.
- runnables(Runnable, Runnable) - Static method in class com.annimon.stream.internal.Compose
-
- safe(ThrowableConsumer<? super T, Throwable>) - Static method in class com.annimon.stream.function.Consumer.Util
-
Creates a safe Consumer.
- safe(ThrowableConsumer<? super T, Throwable>, Consumer<? super T>) - Static method in class com.annimon.stream.function.Consumer.Util
-
Creates a safe Consumer.
- safe(ThrowableDoubleConsumer<Throwable>) - Static method in class com.annimon.stream.function.DoubleConsumer.Util
-
Creates a safe DoubleConsumer.
- safe(ThrowableDoubleConsumer<Throwable>, DoubleConsumer) - Static method in class com.annimon.stream.function.DoubleConsumer.Util
-
Creates a safe DoubleConsumer.
- safe(ThrowableDoubleFunction<? extends R, Throwable>) - Static method in class com.annimon.stream.function.DoubleFunction.Util
-
Creates a safe DoubleFunction,
- safe(ThrowableDoubleFunction<? extends R, Throwable>, R) - Static method in class com.annimon.stream.function.DoubleFunction.Util
-
Creates a safe DoubleFunction,
- safe(ThrowableDoublePredicate<Throwable>) - Static method in class com.annimon.stream.function.DoublePredicate.Util
-
Creates a safe DoublePredicate.
- safe(ThrowableDoublePredicate<Throwable>, boolean) - Static method in class com.annimon.stream.function.DoublePredicate.Util
-
Creates a safe DoublePredicate.
- safe(ThrowableDoubleSupplier<Throwable>) - Static method in class com.annimon.stream.function.DoubleSupplier.Util
-
Creates a safe DoubleSupplier.
- safe(ThrowableDoubleSupplier<Throwable>, double) - Static method in class com.annimon.stream.function.DoubleSupplier.Util
-
Creates a safe DoubleSupplier.
- safe(ThrowableFunction<? super T, ? extends R, Throwable>) - Static method in class com.annimon.stream.function.Function.Util
-
Creates a safe Function,
- safe(ThrowableFunction<? super T, ? extends R, Throwable>, R) - Static method in class com.annimon.stream.function.Function.Util
-
Creates a safe Function,
- safe(ThrowableIntConsumer<Throwable>) - Static method in class com.annimon.stream.function.IntConsumer.Util
-
Creates a safe IntConsumer.
- safe(ThrowableIntConsumer<Throwable>, IntConsumer) - Static method in class com.annimon.stream.function.IntConsumer.Util
-
Creates a safe IntConsumer.
- safe(ThrowableIntFunction<? extends R, Throwable>) - Static method in class com.annimon.stream.function.IntFunction.Util
-
Creates a safe IntFunction,
- safe(ThrowableIntFunction<? extends R, Throwable>, R) - Static method in class com.annimon.stream.function.IntFunction.Util
-
Creates a safe IntFunction,
- safe(ThrowableIntPredicate<Throwable>) - Static method in class com.annimon.stream.function.IntPredicate.Util
-
Creates a safe IntPredicate.
- safe(ThrowableIntPredicate<Throwable>, boolean) - Static method in class com.annimon.stream.function.IntPredicate.Util
-
Creates a safe IntPredicate.
- safe(ThrowableIntSupplier<Throwable>) - Static method in class com.annimon.stream.function.IntSupplier.Util
-
Creates a safe IntSupplier.
- safe(ThrowableIntSupplier<Throwable>, int) - Static method in class com.annimon.stream.function.IntSupplier.Util
-
Creates a safe IntSupplier.
- safe(ThrowableLongConsumer<Throwable>) - Static method in class com.annimon.stream.function.LongConsumer.Util
-
Creates a safe LongConsumer.
- safe(ThrowableLongConsumer<Throwable>, LongConsumer) - Static method in class com.annimon.stream.function.LongConsumer.Util
-
Creates a safe LongConsumer.
- safe(ThrowableLongFunction<? extends R, Throwable>) - Static method in class com.annimon.stream.function.LongFunction.Util
-
Creates a safe LongFunction,
- safe(ThrowableLongFunction<? extends R, Throwable>, R) - Static method in class com.annimon.stream.function.LongFunction.Util
-
Creates a safe LongFunction,
- safe(ThrowableLongPredicate<Throwable>) - Static method in class com.annimon.stream.function.LongPredicate.Util
-
Creates a safe LongPredicate.
- safe(ThrowableLongPredicate<Throwable>, boolean) - Static method in class com.annimon.stream.function.LongPredicate.Util
-
Creates a safe LongPredicate.
- safe(ThrowableLongSupplier<Throwable>) - Static method in class com.annimon.stream.function.LongSupplier.Util
-
Creates a safe LongSupplier.
- safe(ThrowableLongSupplier<Throwable>, long) - Static method in class com.annimon.stream.function.LongSupplier.Util
-
Creates a safe LongSupplier.
- safe(ThrowablePredicate<? super T, Throwable>) - Static method in class com.annimon.stream.function.Predicate.Util
-
Creates a safe Predicate.
- safe(ThrowablePredicate<? super T, Throwable>, boolean) - Static method in class com.annimon.stream.function.Predicate.Util
-
Creates a safe Predicate.
- safe(ThrowableSupplier<? extends T, Throwable>) - Static method in class com.annimon.stream.function.Supplier.Util
-
Creates a safe Supplier.
- safe(ThrowableSupplier<? extends T, Throwable>, T) - Static method in class com.annimon.stream.function.Supplier.Util
-
Creates a safe Supplier.
- sample(int) - Method in class com.annimon.stream.DoubleStream
-
Samples the DoubleStream by emitting every n-th element.
- sample(int) - Method in class com.annimon.stream.IntStream
-
Samples the IntStream by emitting every n-th element.
- sample(int) - Method in class com.annimon.stream.LongStream
-
Samples the LongStream by emitting every n-th element.
- sample(int) - Method in class com.annimon.stream.Stream
-
Samples the Stream by emitting every n-th element.
- scan(DoubleBinaryOperator) - Method in class com.annimon.stream.DoubleStream
-
Returns a DoubleStream produced by iterative application of a accumulation function
to reduction value and next element of the current stream.
- scan(double, DoubleBinaryOperator) - Method in class com.annimon.stream.DoubleStream
-
Returns a DoubleStream produced by iterative application of a accumulation function
to an initial element identity and next element of the current stream.
- scan(IntBinaryOperator) - Method in class com.annimon.stream.IntStream
-
Returns a IntStream produced by iterative application of a accumulation function
to reduction value and next element of the current stream.
- scan(int, IntBinaryOperator) - Method in class com.annimon.stream.IntStream
-
Returns a IntStream produced by iterative application of a accumulation function
to an initial element identity and next element of the current stream.
- scan(LongBinaryOperator) - Method in class com.annimon.stream.LongStream
-
Returns a LongStream produced by iterative application of a accumulation function
to reduction value and next element of the current stream.
- scan(long, LongBinaryOperator) - Method in class com.annimon.stream.LongStream
-
Returns a LongStream produced by iterative application of a accumulation function
to an initial element identity and next element of the current stream.
- scan(BiFunction<T, T, T>) - Method in class com.annimon.stream.Stream
-
Returns a Stream produced by iterative application of a accumulation function
to reduction value and next element of the current stream.
- scan(R, BiFunction<? super R, ? super T, ? extends R>) - Method in class com.annimon.stream.Stream
-
Returns a Stream produced by iterative application of a accumulation function
to an initial element identity and next element of the current stream.
- select(Class<R>) - Method in class com.annimon.stream.Optional
-
Keeps inner value only if is present and instance of given class.
- select(Class<TT>) - Method in class com.annimon.stream.Stream
-
Returns a stream consisting of the elements of this stream which are
instances of given class.
- single() - Method in class com.annimon.stream.DoubleStream
-
Returns the single element of stream.
- single() - Method in class com.annimon.stream.IntStream
-
Returns the single element of stream.
- single() - Method in class com.annimon.stream.LongStream
-
Returns the single element of stream.
- single() - Method in class com.annimon.stream.Stream
-
Returns the single element of stream.
- skip(long) - Method in class com.annimon.stream.DoubleStream
-
Skips first n elements and returns DoubleStream with remaining elements.
- skip(long) - Method in class com.annimon.stream.IntStream
-
Returns a stream consisting of the remaining elements of this stream
after discarding the first n elements of the stream.
- skip(long) - Method in class com.annimon.stream.LongStream
-
Skips first n elements and returns LongStream with remaining elements.
- skip(long) - Method in class com.annimon.stream.Stream
-
Skips first n elements and returns Stream with remaining elements.
- slidingWindow(int) - Method in class com.annimon.stream.Stream
-
Partitions Stream into Lists of fixed size by sliding over the elements of the stream.
- slidingWindow(int, int) - Method in class com.annimon.stream.Stream
-
Partitions Stream into Lists of fixed size by sliding over the elements of the stream.
- sortBy(Function<? super T, ? extends R>) - Method in class com.annimon.stream.Stream
-
Returns Stream with sorted elements (as determinated by Comparable interface).
- sorted() - Method in class com.annimon.stream.DoubleStream
-
Returns a stream consisting of the elements of this stream in sorted order.
- sorted(Comparator<Double>) - Method in class com.annimon.stream.DoubleStream
-
Returns a stream consisting of the elements of this stream
in sorted order as determinated by provided Comparator.
- sorted() - Method in class com.annimon.stream.IntStream
-
Returns a stream consisting of the elements of this stream in sorted
order.
- sorted(Comparator<Integer>) - Method in class com.annimon.stream.IntStream
-
Returns IntStream with sorted elements (as determinated by provided Comparator).
- sorted() - Method in class com.annimon.stream.LongStream
-
Returns a stream consisting of the elements of this stream in sorted order.
- sorted(Comparator<Long>) - Method in class com.annimon.stream.LongStream
-
Returns a stream consisting of the elements of this stream
in sorted order as determinated by provided Comparator.
- sorted() - Method in class com.annimon.stream.Stream
-
Returns
Stream with sorted elements (as determinated by
Comparable interface).
- sorted(Comparator<? super T>) - Method in class com.annimon.stream.Stream
-
Returns Stream with sorted elements (as determinated by provided Comparator).
- stream() - Method in class com.annimon.stream.Optional
-
Wraps a value into Stream if present, otherwise returns an empty Stream.
- stream() - Method in class com.annimon.stream.OptionalDouble
-
Wraps a value into DoubleStream if present,
otherwise returns an empty DoubleStream.
- stream() - Method in class com.annimon.stream.OptionalInt
-
Wraps a value into IntStream if present, otherwise returns an empty IntStream.
- stream() - Method in class com.annimon.stream.OptionalLong
-
Wraps a value into LongStream if present,
otherwise returns an empty LongStream.
- Stream<T> - Class in com.annimon.stream
-
A sequence of elements supporting aggregate operations.
- sum() - Method in class com.annimon.stream.DoubleStream
-
Returns the sum of elements in this stream.
- sum() - Method in class com.annimon.stream.IntStream
-
Returns the sum of elements in this stream.
- sum() - Method in class com.annimon.stream.LongStream
-
Returns the sum of elements in this stream.
- summingDouble(ToDoubleFunction<? super T>) - Static method in class com.annimon.stream.Collectors
-
Returns a Collector that summing double-valued input elements.
- summingInt(ToIntFunction<? super T>) - Static method in class com.annimon.stream.Collectors
-
Returns a Collector that summing integer-valued input elements.
- summingLong(ToLongFunction<? super T>) - Static method in class com.annimon.stream.Collectors
-
Returns a Collector that summing long-valued input elements.
- supplier() - Method in interface com.annimon.stream.Collector
-
Function provides new containers.
- Supplier<T> - Interface in com.annimon.stream.function
-
Represents a function which supply a result.
- Supplier.Util - Class in com.annimon.stream.function
-
- takeUntil(DoublePredicate) - Method in class com.annimon.stream.DoubleStream
-
Takes elements while the predicate returns false.
- takeUntil(IntPredicate) - Method in class com.annimon.stream.IntStream
-
Takes elements while the predicate returns false.
- takeUntil(LongPredicate) - Method in class com.annimon.stream.LongStream
-
Takes elements while the predicate returns false.
- takeUntil(Predicate<? super T>) - Method in class com.annimon.stream.Stream
-
Takes elements while the predicate returns false.
- takeUntilIndexed(IndexedPredicate<? super T>) - Method in class com.annimon.stream.Stream
-
Takes elements while the IndexedPredicate returns false.
- takeUntilIndexed(int, int, IndexedPredicate<? super T>) - Method in class com.annimon.stream.Stream
-
Takes elements while the IndexedPredicate returns false.
- takeWhile(DoublePredicate) - Method in class com.annimon.stream.DoubleStream
-
Takes elements while the predicate returns true.
- takeWhile(IntPredicate) - Method in class com.annimon.stream.IntStream
-
Takes elements while the predicate returns true.
- takeWhile(LongPredicate) - Method in class com.annimon.stream.LongStream
-
Takes elements while the predicate returns true.
- takeWhile(Predicate<? super T>) - Method in class com.annimon.stream.Stream
-
Takes elements while the predicate returns true.
- takeWhileIndexed(IndexedPredicate<? super T>) - Method in class com.annimon.stream.Stream
-
Takes elements while the IndexedPredicate returns true.
- takeWhileIndexed(int, int, IndexedPredicate<? super T>) - Method in class com.annimon.stream.Stream
-
Takes elements while the IndexedPredicate returns true.
- test(boolean) - Method in interface com.annimon.stream.function.BooleanPredicate
-
Tests the value for satisfying predicate.
- test(double) - Method in interface com.annimon.stream.function.DoublePredicate
-
Tests the value for satisfying predicate.
- test(int, double) - Method in interface com.annimon.stream.function.IndexedDoublePredicate
-
Tests the value for satisfying predicate.
- test(int, int) - Method in interface com.annimon.stream.function.IndexedIntPredicate
-
Tests the value for satisfying predicate.
- test(int, long) - Method in interface com.annimon.stream.function.IndexedLongPredicate
-
Tests the value for satisfying predicate.
- test(int, T) - Method in interface com.annimon.stream.function.IndexedPredicate
-
Tests the value for satisfying predicate.
- test(int) - Method in interface com.annimon.stream.function.IntPredicate
-
Tests the value for satisfying predicate.
- test(long) - Method in interface com.annimon.stream.function.LongPredicate
-
Tests the value for satisfying predicate.
- test(T) - Method in interface com.annimon.stream.function.Predicate
-
Tests the value for satisfying predicate.
- test(double) - Method in interface com.annimon.stream.function.ThrowableDoublePredicate
-
Tests the value for satisfying predicate.
- test(int) - Method in interface com.annimon.stream.function.ThrowableIntPredicate
-
Tests the value for satisfying predicate.
- test(long) - Method in interface com.annimon.stream.function.ThrowableLongPredicate
-
Tests the value for satisfying predicate.
- test(T) - Method in interface com.annimon.stream.function.ThrowablePredicate
-
Tests the value for satisfying predicate.
- thenComparing(Comparator<? super T>, Comparator<? super T>) - Static method in class com.annimon.stream.ComparatorCompat
-
Returns a comparator that uses c2 comparator
if c1 comparator considers two elements equal.
- thenComparing(Comparator<? super T>) - Method in class com.annimon.stream.ComparatorCompat
-
Adds the given comparator to the chain.
- thenComparing(Function<? super T, ? extends U>, Comparator<? super U>) - Method in class com.annimon.stream.ComparatorCompat
-
Adds the comparator, that uses a function for extract
a sort key, to the chain.
- thenComparing(Function<? super T, ? extends U>) - Method in class com.annimon.stream.ComparatorCompat
-
Adds the comparator, that uses a function for extract
a
Comparable sort key, to the chain.
- thenComparingDouble(ToDoubleFunction<? super T>) - Method in class com.annimon.stream.ComparatorCompat
-
Adds the comparator, that uses a function for extract
a double sort key, to the chain.
- thenComparingInt(ToIntFunction<? super T>) - Method in class com.annimon.stream.ComparatorCompat
-
Adds the comparator, that uses a function for extract
an int sort key, to the chain.
- thenComparingLong(ToLongFunction<? super T>) - Method in class com.annimon.stream.ComparatorCompat
-
Adds the comparator, that uses a function for extract
a long sort key, to the chain.
- ThrowableConsumer<T,E extends Throwable> - Interface in com.annimon.stream.function
-
Represents an operation on input argument and can throw an exception.
- ThrowableDoubleConsumer<E extends Throwable> - Interface in com.annimon.stream.function
-
Represents an operation on a double-valued input argument.
- ThrowableDoubleFunction<R,E extends Throwable> - Interface in com.annimon.stream.function
-
Represents a function which produces result from double-valued input argument.
- ThrowableDoublePredicate<E extends Throwable> - Interface in com.annimon.stream.function
-
Represents a double-valued predicate (function with boolean type result).
- ThrowableDoubleSupplier<E extends Throwable> - Interface in com.annimon.stream.function
-
Represents a supplier of double-valued results.
- ThrowableFunction<I,R,E extends Throwable> - Interface in com.annimon.stream.function
-
Represents a function which produces result from input arguments and can throw an exception.
- ThrowableIntConsumer<E extends Throwable> - Interface in com.annimon.stream.function
-
Represents an operation on int-valued input argument.
- ThrowableIntFunction<R,E extends Throwable> - Interface in com.annimon.stream.function
-
Represents a function which produces result from int-valued input argument.
- ThrowableIntPredicate<E extends Throwable> - Interface in com.annimon.stream.function
-
Represents an int-valued predicate (function with boolean type result).
- ThrowableIntSupplier<E extends Throwable> - Interface in com.annimon.stream.function
-
Represents a supplier of int-valued results.
- ThrowableLongConsumer<E extends Throwable> - Interface in com.annimon.stream.function
-
Represents an operation on a long-valued input argument.
- ThrowableLongFunction<R,E extends Throwable> - Interface in com.annimon.stream.function
-
Represents a function which produces result from long-valued input argument.
- ThrowableLongPredicate<E extends Throwable> - Interface in com.annimon.stream.function
-
Represents a long-valued predicate (function with boolean type result).
- ThrowableLongSupplier<E extends Throwable> - Interface in com.annimon.stream.function
-
Represents a supplier of long-valued results.
- ThrowablePredicate<T,E extends Throwable> - Interface in com.annimon.stream.function
-
Represents a predicate (function with boolean type result) which can throw an exception.
- ThrowableSupplier<T,E extends Throwable> - Interface in com.annimon.stream.function
-
Represents a function for supplying result which can throw an exception.
- toArray() - Method in class com.annimon.stream.DoubleStream
-
Returns an array containing the elements of this stream.
- toArray(Iterator<? extends T>, IntFunction<R[]>) - Static method in class com.annimon.stream.internal.Operators
-
- toArray() - Method in class com.annimon.stream.IntStream
-
Returns an array containing the elements of this stream.
- toArray() - Method in class com.annimon.stream.LongStream
-
Returns an array containing the elements of this stream.
- toArray() - Method in class com.annimon.stream.Stream
-
Collects elements to an array.
- toArray(IntFunction<R[]>) - Method in class com.annimon.stream.Stream
-
Collects elements to an array, the generator constructor of provided.
- ToBooleanFunction<T> - Interface in com.annimon.stream.function
-
Represents a function which produces an boolean-valued result from input argument.
- toCollection(Supplier<R>) - Static method in class com.annimon.stream.Collectors
-
Returns a Collector that fills new Collection, provided by collectionSupplier,
with input elements.
- toDoubleArray(PrimitiveIterator.OfDouble) - Static method in class com.annimon.stream.internal.Operators
-
- ToDoubleFunction<T> - Interface in com.annimon.stream.function
-
Represents a function which produces an double-valued result from input argument.
- toIntArray(PrimitiveIterator.OfInt) - Static method in class com.annimon.stream.internal.Operators
-
- ToIntFunction<T> - Interface in com.annimon.stream.function
-
Represents a function which produces an int-valued result from input argument.
- toList() - Static method in class com.annimon.stream.Collectors
-
Returns a Collector that fills new List with input elements.
- toList(Iterator<? extends T>) - Static method in class com.annimon.stream.internal.Operators
-
- toList() - Method in class com.annimon.stream.Stream
-
Collects elements to a new List.
- toLongArray(PrimitiveIterator.OfLong) - Static method in class com.annimon.stream.internal.Operators
-
- ToLongFunction<T> - Interface in com.annimon.stream.function
-
Represents a function which produces an long-valued result from input argument.
- toMap(Function<? super T, ? extends K>) - Static method in class com.annimon.stream.Collectors
-
Returns a Collector that fills new Map with input elements.
- toMap(Function<? super T, ? extends K>, Function<? super T, ? extends V>) - Static method in class com.annimon.stream.Collectors
-
Returns a Collector that fills new Map with input elements.
- toMap(Function<? super T, ? extends K>, Function<? super T, ? extends V>, Supplier<M>) - Static method in class com.annimon.stream.Collectors
-
Returns a Collector that fills new Map with input elements.
- toMap(Function<? super T, ? extends K>, Function<? super T, ? extends V>, BinaryOperator<V>) - Static method in class com.annimon.stream.Collectors
-
Returns a Collector that fills new Map with input elements.
- toMap(Function<? super T, ? extends K>, Function<? super T, ? extends V>, BinaryOperator<V>, Supplier<M>) - Static method in class com.annimon.stream.Collectors
-
Returns a Collector that fills new Map with input elements.
- toSet() - Static method in class com.annimon.stream.Collectors
-
Returns a Collector that fills new Set with input elements.
- toString() - Method in class com.annimon.stream.Exceptional
-
- toString() - Method in class com.annimon.stream.IntPair
-
- toString(Object, String) - Static method in class com.annimon.stream.Objects
-
Returns result of calling toString on object or nullDefault if object is null.
- toString() - Method in class com.annimon.stream.Optional
-
- toString() - Method in class com.annimon.stream.OptionalBoolean
-
- toString() - Method in class com.annimon.stream.OptionalDouble
-
- toString() - Method in class com.annimon.stream.OptionalInt
-
Returns a non-empty string representation of this object suitable for
debugging.
- toString() - Method in class com.annimon.stream.OptionalLong
-
- toUnmodifiableList() - Static method in class com.annimon.stream.Collectors
-
Returns a Collector that fills new unmodifiable List with input elements.
- toUnmodifiableMap(Function<? super T, ? extends K>, Function<? super T, ? extends V>) - Static method in class com.annimon.stream.Collectors
-
Returns a Collector that fills new unmodifiable Map with input elements.
- toUnmodifiableMap(Function<? super T, ? extends K>, Function<? super T, ? extends V>, BinaryOperator<V>) - Static method in class com.annimon.stream.Collectors
-
Returns a Collector that fills new unmodifiable Map with input elements.
- toUnmodifiableSet() - Static method in class com.annimon.stream.Collectors
-
Returns a Collector that fills new unmodifiable Set with input elements.