A B C D E F G H I J K L M N O P R S T U V Z _ 

A

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) - 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.
acceptByKey(Consumer<? super K>) - Static method in class com.annimon.stream.Fn
 
acceptByValue(Consumer<? super V>) - Static method in class com.annimon.stream.Fn
 
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.
alwaysFalse() - Static method in class com.annimon.stream.Fn
 
alwaysTrue() - Static method in class com.annimon.stream.Fn
 
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) - 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.
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) - 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) - 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.
applyByKey(Function<? super K, R>) - Static method in class com.annimon.stream.Fn
 
applyByValue(Function<? super V, R>) - Static method in class com.annimon.stream.Fn
 
average() - Method in class com.annimon.stream.DoubleStream
Returns the average of elements in this stream.
average() - Method in class com.annimon.stream.IntStream
Returns the average of elements in this stream.
average() - Method in class com.annimon.stream.LongStream
Returns the average of elements in this stream.
averagingDouble(ToDoubleFunction<? super T>) - Static method in class com.annimon.stream.Collectors
Returns a Collector that calculates average of double-valued input elements.
averagingDouble(ToDoubleFunction<? super T>) - Static method in class com.annimon.stream.Fn
 
averagingInt(ToIntFunction<? super T>) - Static method in class com.annimon.stream.Collectors
Returns a Collector that calculates average of integer-valued input elements.
averagingInt(ToIntFunction<? super T>) - Static method in class com.annimon.stream.Fn
 
averagingLong(ToLongFunction<? super T>) - Static method in class com.annimon.stream.Collectors
Returns a Collector that calculates average of long-valued input elements.
averagingLong(ToLongFunction<? super T>) - Static method in class com.annimon.stream.Fn
 

B

BiConsumer<T,U> - Interface in com.annimon.stream.function
Represents an operation on two input arguments.
BiFunction<T,U,R> - Interface in com.annimon.stream.function
Represents a function which produces result from two input arguments.
BinaryOperator<T> - Interface in com.annimon.stream.function
Represents an operation on two operands that produces a result of the same type as its operand.
BiPredicate<T,U> - Interface in com.annimon.stream.function
Represents a predicate (function with boolean type result).
BooleanConsumer - Interface in com.annimon.stream.function
Represents an operation on a boolean-valued input argument.
BooleanFunction<R> - Interface in com.annimon.stream.function
Represents a function which produces result from boolean-valued input argument.
BooleanPredicate - Interface in com.annimon.stream.function
Represents a boolean-valued predicate (function with boolean type result).
BooleanSupplier - Interface in com.annimon.stream.function
Represents a supplier of boolean-valued results.
boxed() - Method in class com.annimon.stream.DoubleStream
Returns a Stream consisting of the elements of this stream, each boxed to an Double.
boxed() - Method in class com.annimon.stream.IntStream
Returns a Stream consisting of the elements of this stream, each boxed to an Integer.
boxed() - Method in class com.annimon.stream.LongStream
Returns a Stream consisting of the elements of this stream, each boxed to an Long.

C

cast(Class<U>) - Static method in class com.annimon.stream.Fn
 
chain(Function<? super Stream<Map.Entry<K, V>>, ? extends Stream<Map.Entry<K2, V2>>>) - Method in class com.annimon.stream.EntryStream
 
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.EntryStream
 
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.
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>, BiConsumer<R, ? super Map.Entry<K, V>>) - Method in class com.annimon.stream.EntryStream
 
collect(Collector<? super Map.Entry<K, V>, A, R>) - Method in class com.annimon.stream.EntryStream
 
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
 
Comparators - Class in com.annimon.stream
Factory utility class for Comparator.
compare(T, T) - Static method in class com.annimon.stream.Objects
 
compare(T, T, Comparator<? super T>) - Static method in class com.annimon.stream.Objects
Compares two objects with provided comparator.
comparingBy(Function<? super T, ? extends U>) - Static method in class com.annimon.stream.Comparators
 
comparingBy(Function<? super T, ? extends U>, Comparator<? super U>) - Static method in class com.annimon.stream.Comparators
 
comparingBy(Function<? super T, ? extends U>) - Static method in class com.annimon.stream.Fn
 
comparingByKey() - Static method in class com.annimon.stream.Comparators
 
comparingByKey(Comparator<? super K>) - Static method in class com.annimon.stream.Comparators
 
comparingByValue() - Static method in class com.annimon.stream.Comparators
 
comparingByValue(Comparator<? super V>) - Static method in class com.annimon.stream.Comparators
 
comparingDouble(ToDoubleFunction<? super T>) - Static method in class com.annimon.stream.Comparators
 
comparingInt(ToIntFunction<? super T>) - Static method in class com.annimon.stream.Comparators
 
comparingLong(ToLongFunction<? super T>) - Static method in class com.annimon.stream.Comparators
 
concat(DoubleStream, DoubleStream) - Static method in class com.annimon.stream.DoubleStream
Concatenates two streams.
concat(double[], double[]) - Static method in class com.annimon.stream.DoubleStream
 
concat(Map<K, V>...) - Static method in class com.annimon.stream.EntryStream
 
concat(Collection<? extends Map<K, V>>) - Static method in class com.annimon.stream.EntryStream
 
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(int[], int[]) - Static method in class com.annimon.stream.IntStream
 
concat(LongStream, LongStream) - Static method in class com.annimon.stream.LongStream
Concatenates two streams.
concat(long[], long[]) - Static method in class com.annimon.stream.LongStream
 
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.
concat(Collection<? extends T>, Collection<? extends T>) - Static method in class com.annimon.stream.Stream
 
concat(T[], T[]) - Static method in class com.annimon.stream.Stream
 
Consumer<T> - Interface in com.annimon.stream.function
Represents an operation on input argument.
count() - Method in class com.annimon.stream.DoubleStream
Returns the count of elements in this stream.
count() - Method in class com.annimon.stream.EntryStream
 
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.
counting() - Static method in class com.annimon.stream.Fn
 

D

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.EntryStream
 
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 Map.Entry<K, V>, ?>) - Method in class com.annimon.stream.EntryStream
 
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.
distinctByKey() - Method in class com.annimon.stream.EntryStream
 
distinctByValue() - Method in class com.annimon.stream.EntryStream
 
doNothing() - Static method in class com.annimon.stream.Fn
 
DoubleBinaryOperator - Interface in com.annimon.stream.function
Represents an operation on two double-valued operands that produces a double-valued result.
DoubleConsumer - Interface in com.annimon.stream.function
Represents an operation on a double-valued input argument.
DoubleFunction<R> - Interface in com.annimon.stream.function
Represents a function which produces result from double-valued input argument.
DoublePredicate - Interface in com.annimon.stream.function
Represents a double-valued predicate (function with boolean type result).
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.
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.
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.

E

empty() - Static method in class com.annimon.stream.DoubleStream
Returns an empty stream.
empty() - Static method in class com.annimon.stream.EntryStream
 
empty() - Static method in class com.annimon.stream.IntStream
Returns an empty stream.
empty() - Static method in class com.annimon.stream.LongStream
Returns an empty stream.
empty() - Static method in class com.annimon.stream.Optional
Returns an empty Optional.
empty() - Static method in class com.annimon.stream.OptionalBoolean
Returns an empty OptionalBoolean instance.
empty() - Static method in class com.annimon.stream.OptionalDouble
Returns an empty OptionalDouble instance.
empty() - Static method in class com.annimon.stream.OptionalInt
Returns an empty OptionalInt instance.
empty() - Static method in class com.annimon.stream.OptionalLong
Returns an empty OptionalLong instance.
empty() - Static method in class com.annimon.stream.Stream
Returns an empty stream.
emptyAction() - Static method in class com.annimon.stream.Fn
 
endsWith(String) - Static method in class com.annimon.stream.Fn
 
entries() - Method in class com.annimon.stream.EntryStream
 
entry() - Static method in class com.annimon.stream.Fn
 
EntryStream<K,V> - Class in com.annimon.stream
 
equal(Object) - Static method in class com.annimon.stream.Fn
 
equals(Object) - Method in class com.annimon.stream.Indexed
 
equals(Object, Object) - Static method in class com.annimon.stream.Objects
Checks equality of two objects.
equals(Object) - Method in class com.annimon.stream.Optional
 
equals(Object) - Method in class com.annimon.stream.OptionalBoolean
 
equals(Object) - Method in class com.annimon.stream.OptionalDouble
 
equals(Object) - Method in class com.annimon.stream.OptionalInt
Indicates whether some other object is "equal to" this OptionalInt.
equals(Object) - Method in class com.annimon.stream.OptionalLong
 

F

FACTORY_OF_LINKED_HASH_MAP - Static variable in class com.annimon.stream.Fn
 
FACTORY_OF_MAP - Static variable in class com.annimon.stream.Fn
 
filter(DoublePredicate) - Method in class com.annimon.stream.DoubleStream
Returns DoubleStream with elements that satisfy the given predicate.
filter(Predicate<Map.Entry<K, V>>) - Method in class com.annimon.stream.EntryStream
 
filter(BiPredicate<? super K, ? super V>) - Method in class com.annimon.stream.EntryStream
 
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(Predicate<? super T>) - Method in class com.annimon.stream.Stream
Returns Stream with elements that satisfy the given predicate.
filterByKey(Predicate<? super K>) - Method in class com.annimon.stream.EntryStream
 
filterByValue(Predicate<? super V>) - Method in class com.annimon.stream.EntryStream
 
filtering(Predicate<? super T>, Collector<? super T, A, R>) - Static method in class com.annimon.stream.Collectors
Returns a Collector that filters input elements.
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.
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.
finisher() - Method in interface com.annimon.stream.Collector
Function produces result by transforming intermediate type.
flatArray(Function<? super T, ? extends R[]>) - Method in class com.annimon.stream.Stream
 
flatCollection(Function<? super T, ? extends Collection<? extends R>>) - Method in class com.annimon.stream.Stream
 
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(Function<? super Map.Entry<K, V>, Stream<Map.Entry<KK, VV>>>) - Method in class com.annimon.stream.EntryStream
 
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.
flatMapKey(Function<? super K, Stream<KK>>) - Method in class com.annimon.stream.EntryStream
 
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.
flatMapToEntry(Function<? super T, ? extends Stream<? extends Map.Entry<K, V>>>) - Method in class com.annimon.stream.Stream
 
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.
flatMapValue(Function<? super V, Stream<VV>>) - Method in class com.annimon.stream.EntryStream
 
Fn - Class in com.annimon.stream
Factory utility class for functional interfaces.
Fn.Factory - Class in com.annimon.stream
 
Fn.Suppliers - Class in com.annimon.stream
 
forEach(DoubleConsumer) - Method in class com.annimon.stream.DoubleStream
Performs an action for each element of this stream.
forEach(Consumer<? super Map.Entry<K, V>>) - Method in class com.annimon.stream.EntryStream
 
forEach(BiConsumer<? super K, ? super V>) - Method in class com.annimon.stream.EntryStream
 
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.
Function<T,R> - Interface in com.annimon.stream.function
Represents a function which produces result from input arguments.
FunctionalInterface - Annotation Type in com.annimon.stream.function
 

G

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(Supplier<T>) - Static method in class com.annimon.stream.Fn
 
get() - Method in interface com.annimon.stream.function.Supplier
Gets a result.
get() - Method in class com.annimon.stream.Optional
Returns an inner value if present, otherwise throws NoSuchElementException.
get() - Method in class com.annimon.stream.OptionalBoolean
Returns an inner value if present, otherwise throws NoSuchElementException.
get() - Method in class com.annimon.stream.OptionalDouble
Returns an inner value if present, otherwise throws NoSuchElementException.
get() - Method in class com.annimon.stream.OptionalInt
If a value is present in this OptionalInt, returns the value, otherwise throws NoSuchElementException.
getAsBoolean() - Method in interface com.annimon.stream.function.BooleanSupplier
Gets a result.
getAsDouble() - Method in interface com.annimon.stream.function.DoubleSupplier
Gets a result.
getAsInt() - Method in interface com.annimon.stream.function.IntSupplier
Gets a result.
getAsLong() - Method in interface com.annimon.stream.function.LongSupplier
Gets a result.
getAsLong() - Method in class com.annimon.stream.OptionalLong
Returns an inner value if present, otherwise throws NoSuchElementException.
greaterEqual(T) - Static method in class com.annimon.stream.Fn
 
greaterThan(T) - Static method in class com.annimon.stream.Fn
 
groupBy() - Method in class com.annimon.stream.EntryStream
 
groupBy(Collector<? super Map.Entry<K, V>, A, D>) - Method in class com.annimon.stream.EntryStream
 
groupBy(Collector<? super Map.Entry<K, V>, A, D>, Supplier<Map<K, D>>) - Method in class com.annimon.stream.EntryStream
 
groupBy(Function<? super T, ? extends K>) - Method in class com.annimon.stream.Stream
Partitions Stream into Map entries according to the given classifier function.
groupBy(Function<? super T, ? extends K>, Collector<? super T, A, D>) - Method in class com.annimon.stream.Stream
 
groupBy(Function<? super T, ? extends K>, Collector<? super T, A, D>, Supplier<Map<K, D>>) - Method in class com.annimon.stream.Stream
 
groupByToEntry(Function<? super T, ? extends K>) - Method in class com.annimon.stream.Stream
 
groupByToEntry(Function<? super T, ? extends K>, Collector<? super T, A, D>) - Method in class com.annimon.stream.Stream
 
groupByToEntry(Function<? super T, ? extends K>, Collector<? super T, A, D>, Supplier<Map<K, D>>) - Method in class com.annimon.stream.Stream
 
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>, Collector<? super T, A, D>, Supplier<M>) - Static method in class com.annimon.stream.Collectors
Returns a Collector that performs grouping operation by given classifier.
groupTo() - Method in class com.annimon.stream.EntryStream
 
groupTo(Collector<? super Map.Entry<K, V>, A, D>) - Method in class com.annimon.stream.EntryStream
 
groupTo(Collector<? super Map.Entry<K, V>, A, D>, Supplier<M>) - Method in class com.annimon.stream.EntryStream
 
groupTo(Function<? super T, ? extends K>) - Method in class com.annimon.stream.Stream
 
groupTo(Function<? super T, ? extends K>, Collector<? super T, A, D>) - Method in class com.annimon.stream.Stream
 
groupTo(Function<? super T, ? extends K>, Collector<? super T, A, D>, Supplier<M>) - Method in class com.annimon.stream.Stream
 

H

hashCode() - Method in class com.annimon.stream.Indexed
 
hashCode(Object) - Static method in class com.annimon.stream.Objects
Returns the hash code of object.
hashCode() - Method in class com.annimon.stream.Optional
 
hashCode() - Method in class com.annimon.stream.OptionalBoolean
 
hashCode() - Method in class com.annimon.stream.OptionalDouble
 
hashCode() - Method in class com.annimon.stream.OptionalInt
Returns the hash code value of the present value, if any, or 0 (zero) if no value is present.
hashCode() - Method in class com.annimon.stream.OptionalLong
 

I

identity() - Static method in class com.annimon.stream.Fn
 
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.
ignoringMerger() - Static method in class com.annimon.stream.Fn
 
in(Collection<?>) - Static method in class com.annimon.stream.Fn
 
index() - Method in class com.annimon.stream.Indexed
index.
Indexed<T> - Class in com.annimon.stream
A pair with int-valued first element and object-valued second element.
indexed() - Method in class com.annimon.stream.Stream
Returns Stream with indexed elements.
instanceOf(Class<?>) - Static method in class com.annimon.stream.Fn
 
IntBinaryOperator - Interface in com.annimon.stream.function
Represents an operation upon two int-valued operands and producing an int-valued result.
IntConsumer - Interface in com.annimon.stream.function
Represents an operation that accepts a single int-valued argument and returns no result.
IntFunction<R> - Interface in com.annimon.stream.function
Represents a function that accepts an int-valued argument and produces a result.
IntPredicate - Interface in com.annimon.stream.function
Represents a predicate (function with boolean type result).
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.
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.
inversed() - Method in class com.annimon.stream.EntryStream
 
isNull() - Static method in class com.annimon.stream.Fn
 
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.EntryStream
 
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.

J

joining() - Static method in class com.annimon.stream.Collectors
Returns a Collector that concatenates input elements into new string.
joining(CharSequence) - Static method in class com.annimon.stream.Collectors
Returns a Collector that concatenates input elements into new string.
joining(CharSequence, CharSequence, CharSequence) - Static method in class com.annimon.stream.Collectors
Returns a Collector that concatenates input elements into new string.
joining(CharSequence, CharSequence, CharSequence, String) - Static method in class com.annimon.stream.Collectors
Returns a Collector that concatenates input elements into new string.
just(T) - Static method in class com.annimon.stream.Stream
 

K

key() - Static method in class com.annimon.stream.Fn
 
keys() - Method in class com.annimon.stream.EntryStream
 

L

lessEqual(T) - Static method in class com.annimon.stream.Fn
 
lessThan(T) - Static method in class com.annimon.stream.Fn
 
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.EntryStream
 
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.
LongBinaryOperator - Interface in com.annimon.stream.function
Represents an operation on two long-valued operands that produces a long-valued result.
LongConsumer - Interface in com.annimon.stream.function
Represents an operation on a long-valued input argument.
LongFunction<R> - Interface in com.annimon.stream.function
Represents a function which produces result from long-valued input argument.
LongPredicate - Interface in com.annimon.stream.function
Represents a long-valued predicate (function with boolean type result).
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.
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.

M

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(Function<? super Map.Entry<K, V>, Map.Entry<KK, VV>>) - Method in class com.annimon.stream.EntryStream
 
map(BiFunction<? super K, ? super V, Map.Entry<KK, VV>>) - Method in class com.annimon.stream.EntryStream
 
map(Function<? super K, KK>, Function<? super V, VV>) - Method in class com.annimon.stream.EntryStream
 
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(Function<? super T, ? extends R>) - Method in class com.annimon.stream.Stream
Returns Stream with elements that obtained by applying the given function.
mapKey(Function<? super K, KK>) - Method in class com.annimon.stream.EntryStream
 
mapKey(Function<? super K, KK>) - Static method in class com.annimon.stream.Fn
 
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.
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.Stream
Returns DoubleStream with elements that obtained by applying the given function.
mapToEntry(Function<? super T, Map.Entry<K, V>>) - Method in class com.annimon.stream.Stream
 
mapToEntry(Function<? super T, K>, Function<? super T, V>) - Method in class com.annimon.stream.Stream
 
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.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.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.
mapValue(Function<? super V, VV>) - Method in class com.annimon.stream.EntryStream
 
mapValue(Function<? super V, VV>) - Static method in class com.annimon.stream.Fn
 
matches(Pattern) - Static method in class com.annimon.stream.Fn
 
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(Function<? super T, U>) - Method in class com.annimon.stream.Stream
 
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.
merge(Collection<? extends T>, Collection<? extends T>, BiFunction<? super T, ? super T, ObjMerge.MergeResult>) - Static method in class com.annimon.stream.Stream
 
merge(T[], T[], BiFunction<? super T, ? super T, ObjMerge.MergeResult>) - Static method in class com.annimon.stream.Stream
 
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(Function<? super T, U>) - Method in class com.annimon.stream.Stream
 

N

naturalOrder() - Static method in class com.annimon.stream.Comparators
 
naturalOrder() - Static method in class com.annimon.stream.Fn
 
noneMatch(DoublePredicate) - Method in class com.annimon.stream.DoubleStream
Tests whether no elements match the given predicate.
noneMatch(IntPredicate) - Method in class com.annimon.stream.IntStream
Returns whether no elements of this stream match the provided predicate.
noneMatch(LongPredicate) - Method in class com.annimon.stream.LongStream
Tests whether no elements match the given predicate.
noneMatch(Predicate<? super T>) - Method in class com.annimon.stream.Stream
Tests whether no elements match the given predicate.
notEqual(Object) - Static method in class com.annimon.stream.Fn
 
notIn(Collection<?>) - Static method in class com.annimon.stream.Fn
 
notNull() - Static method in class com.annimon.stream.Fn
 
nullsFirst() - Static method in class com.annimon.stream.Comparators
 
nullsFirst(Comparator<T>) - Static method in class com.annimon.stream.Comparators
 
nullsLast() - Static method in class com.annimon.stream.Comparators
 
nullsLast(Comparator<T>) - Static method in class com.annimon.stream.Comparators
 

O

ObjDoubleConsumer<T> - Interface in com.annimon.stream.function
Represents an operation on two input arguments.
Objects - Class in com.annimon.stream
Common operations with Object.
ObjIntConsumer<T> - Interface in com.annimon.stream.function
Represents an operation on two input arguments.
ObjLongConsumer<T> - Interface in com.annimon.stream.function
Represents an operation on two input arguments.
of(double...) - Static method in class com.annimon.stream.DoubleStream
Creates a DoubleStream from the specified values.
of(PrimitiveIterator.OfDouble) - Static method in class com.annimon.stream.DoubleStream
Creates a DoubleStream from PrimitiveIterator.OfDouble.
of(Stream<? extends Map.Entry<K, V>>) - Static method in class com.annimon.stream.EntryStream
 
of(Iterator<? extends Map.Entry<K, V>>) - Static method in class com.annimon.stream.EntryStream
 
of(Map<K, V>) - Static method in class com.annimon.stream.EntryStream
 
of(Collection<? extends Map.Entry<K, V>>) - Static method in class com.annimon.stream.EntryStream
 
of(Map.Entry<K, V>...) - Static method in class com.annimon.stream.EntryStream
 
of(Collection<? extends T>, Function<? super T, K>) - Static method in class com.annimon.stream.EntryStream
 
of(T[], Function<? super T, K>) - Static method in class com.annimon.stream.EntryStream
 
of(T, int) - Static method in class com.annimon.stream.Indexed
 
of(int...) - Static method in class com.annimon.stream.IntStream
Returns stream whose elements are the specified values.
of(PrimitiveIterator.OfInt) - Static method in class com.annimon.stream.IntStream
Creates a IntStream from PrimitiveIterator.OfInt.
of(long...) - Static method in class com.annimon.stream.LongStream
Creates a LongStream from the specified values.
of(PrimitiveIterator.OfLong) - Static method in class com.annimon.stream.LongStream
Creates a LongStream from PrimitiveIterator.OfLong.
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(T...) - Static method in class com.annimon.stream.Stream
Creates a Stream from the specified values.
of(Collection<? extends T>) - Static method in class com.annimon.stream.Stream
Creates a Stream from Map entries.
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.
ofArrayDeque() - Static method in class com.annimon.stream.Fn.Factory
 
ofArrayDeque() - Static method in class com.annimon.stream.Fn.Suppliers
 
ofBooleanArray() - Static method in class com.annimon.stream.Fn.Factory
 
ofByteArray() - Static method in class com.annimon.stream.Fn.Factory
 
ofCharArray() - Static method in class com.annimon.stream.Fn.Factory
 
ofCodePoints(CharSequence) - Static method in class com.annimon.stream.IntStream
Creates an IntStream of code point values from the given sequence.
ofConcurrentHashMap() - Static method in class com.annimon.stream.Fn.Factory
 
ofConcurrentHashMap() - Static method in class com.annimon.stream.Fn.Suppliers
 
ofConcurrentLinkedQueue() - Static method in class com.annimon.stream.Fn.Factory
 
ofConcurrentLinkedQueue() - Static method in class com.annimon.stream.Fn.Suppliers
 
ofDoubleArray() - Static method in class com.annimon.stream.Fn.Factory
 
ofFloatArray() - Static method in class com.annimon.stream.Fn.Factory
 
ofIntArray() - Static method in class com.annimon.stream.Fn.Factory
 
ofLinkedBlockingQueue() - Static method in class com.annimon.stream.Fn.Factory
 
ofLinkedBlockingQueue() - Static method in class com.annimon.stream.Fn.Suppliers
 
ofLinkedHashMap() - Static method in class com.annimon.stream.Fn.Factory
 
ofLinkedHashMap() - Static method in class com.annimon.stream.Fn.Suppliers
 
ofLinkedHashSet() - Static method in class com.annimon.stream.Fn.Factory
 
ofLinkedHashSet() - Static method in class com.annimon.stream.Fn.Suppliers
 
ofLinkedList() - Static method in class com.annimon.stream.Fn.Factory
 
ofLinkedList() - Static method in class com.annimon.stream.Fn.Suppliers
 
ofList() - Static method in class com.annimon.stream.Fn.Factory
 
ofList() - Static method in class com.annimon.stream.Fn.Suppliers
 
ofLongArray() - Static method in class com.annimon.stream.Fn.Factory
 
ofMap() - Static method in class com.annimon.stream.Fn.Factory
 
ofMap() - Static method in class com.annimon.stream.Fn.Suppliers
 
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(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.
ofObjectArray() - Static method in class com.annimon.stream.Fn.Factory
 
ofPriorityQueue() - Static method in class com.annimon.stream.Fn.Factory
 
ofPriorityQueue() - Static method in class com.annimon.stream.Fn.Suppliers
 
ofQueue() - Static method in class com.annimon.stream.Fn.Factory
 
ofQueue() - Static method in class com.annimon.stream.Fn.Suppliers
 
ofSet() - Static method in class com.annimon.stream.Fn.Factory
 
ofSet() - Static method in class com.annimon.stream.Fn.Suppliers
 
ofShortArray() - Static method in class com.annimon.stream.Fn.Factory
 
ofStringArray() - Static method in class com.annimon.stream.Fn.Factory
 
ofTreeMap() - Static method in class com.annimon.stream.Fn.Factory
 
ofTreeMap() - Static method in class com.annimon.stream.Fn.Suppliers
 
ofTreeSet() - Static method in class com.annimon.stream.Fn.Factory
 
ofTreeSet() - Static method in class com.annimon.stream.Fn.Suppliers
 
onClose(Runnable) - Method in class com.annimon.stream.DoubleStream
Adds close handler to the current stream.
onClose(Runnable) - Method in class com.annimon.stream.EntryStream
 
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.
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(T) - Method in class com.annimon.stream.Optional
Returns inner value if present, otherwise returns other.
or(boolean) - Method in class com.annimon.stream.OptionalBoolean
Returns inner value if present, otherwise returns other.
or(double) - Method in class com.annimon.stream.OptionalDouble
Returns inner value if present, otherwise returns other.
or(int) - Method in class com.annimon.stream.OptionalInt
Returns the value if present, otherwise returns other.
or(long) - Method in class com.annimon.stream.OptionalLong
Returns inner value if present, otherwise returns other.
orGet(Supplier<? extends T>) - Method in class com.annimon.stream.Optional
Returns inner value if present, otherwise returns value produced by supplier function.
orGet(BooleanSupplier) - Method in class com.annimon.stream.OptionalBoolean
Returns the value if present, otherwise returns value produced by supplier function.
orGet(DoubleSupplier) - Method in class com.annimon.stream.OptionalDouble
Returns the value if present, otherwise returns value produced by supplier function.
orGet(IntSupplier) - Method in class com.annimon.stream.OptionalInt
Returns the value if present, otherwise invokes other and returns the result of that invocation.
orGet(LongSupplier) - Method in class com.annimon.stream.OptionalLong
Returns the value if present, otherwise returns value produced by supplier function.
orThrow(Supplier<? extends X>) - Method in class com.annimon.stream.Optional
Returns inner value if present, otherwise throws the exception provided by supplier function.
orThrow(Supplier<X>) - Method in class com.annimon.stream.OptionalBoolean
Returns the value if present, otherwise throws an exception provided by supplier function.
orThrow(Supplier<X>) - Method in class com.annimon.stream.OptionalDouble
Returns the value if present, otherwise throws an exception provided by supplier function.
orThrow(Supplier<X>) - Method in class com.annimon.stream.OptionalInt
Returns the value if present, otherwise throws an exception provided by supplier function.
orThrow(Supplier<X>) - Method in class com.annimon.stream.OptionalLong
Returns the value if present, otherwise throws an exception provided by supplier function.

P

peek(DoubleConsumer) - Method in class com.annimon.stream.DoubleStream
Performs provided action on each element.
peek(Consumer<? super Map.Entry<K, V>>) - Method in class com.annimon.stream.EntryStream
 
peek(BiConsumer<? super K, ? super V>) - Method in class com.annimon.stream.EntryStream
 
peek(IntConsumer) - Method in class com.annimon.stream.IntStream
Returns a stream consisting of the elements of this stream, additionally performing the provided action on each element as elements are consumed from the resulting stream.
peek(LongConsumer) - Method in class com.annimon.stream.LongStream
Performs provided action on each element.
peek(Consumer<? super T>) - Method in class com.annimon.stream.Stream
Performs provided action on each element.
Predicate<T> - Interface in com.annimon.stream.function
Represents a predicate (function with boolean type result).
println() - Method in class com.annimon.stream.DoubleStream
 
println() - Method in class com.annimon.stream.EntryStream
 
println() - Static method in class com.annimon.stream.Fn
 
println(String) - Static method in class com.annimon.stream.Fn
 
println() - Method in class com.annimon.stream.IntStream
 
println() - Method in class com.annimon.stream.LongStream
 
println() - Method in class com.annimon.stream.Stream
 

R

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(int, int, int) - Static method in class com.annimon.stream.IntStream
 
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(long, long, long) - Static method in class com.annimon.stream.LongStream
 
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(int, int, int) - Static method in class com.annimon.stream.IntStream
 
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(long, long, long) - Static method in class com.annimon.stream.LongStream
 
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(BinaryOperator<Map.Entry<K, V>>) - Method in class com.annimon.stream.EntryStream
 
reduce(U, BiFunction<U, ? super Map.Entry<K, V>, U>) - Method in class com.annimon.stream.EntryStream
 
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.
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.
replacingMerger() - Static method in class com.annimon.stream.Fn
 
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.
reversedComparingBy(Function<? super T, ? extends U>) - Static method in class com.annimon.stream.Comparators
 
reversedComparingBy(Function<? super T, ? extends U>) - Static method in class com.annimon.stream.Fn
 
reversedComparingByKey() - Static method in class com.annimon.stream.Comparators
 
reversedComparingByKey(Comparator<? super K>) - Static method in class com.annimon.stream.Comparators
 
reversedComparingByValue() - Static method in class com.annimon.stream.Comparators
 
reversedComparingByValue(Comparator<? super V>) - Static method in class com.annimon.stream.Comparators
 
reversedOrder() - Static method in class com.annimon.stream.Comparators
 
reversedOrder(Comparator<T>) - Static method in class com.annimon.stream.Comparators
 
reversedOrder() - Static method in class com.annimon.stream.Fn
 
reversedOrder(Comparator<T>) - Static method in class com.annimon.stream.Fn
 

S

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<TT>) - Method in class com.annimon.stream.Stream
Returns a stream consisting of the elements of this stream which are instances of given class.
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.EntryStream
 
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.
skipNull() - Method in class com.annimon.stream.Stream
Returns Stream without null elements.
sliding(int) - Method in class com.annimon.stream.Stream
Partitions Stream into Lists of fixed size by sliding over the elements of the stream.
sliding(int, int) - Method in class com.annimon.stream.Stream
Partitions Stream into Lists of fixed size by sliding over the elements of the stream.
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(Comparator<? super Map.Entry<K, V>>) - Method in class com.annimon.stream.EntryStream
 
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).
sortedBy(Function<? super Map.Entry<K, V>, U>) - Method in class com.annimon.stream.EntryStream
 
sortedBy(Function<? super T, U>) - Method in class com.annimon.stream.Stream
Returns Stream with sorted elements (as determinated by Comparable interface).
sortedByKey(Comparator<? super K>) - Method in class com.annimon.stream.EntryStream
 
sortedByValue(Comparator<? super V>) - Method in class com.annimon.stream.EntryStream
 
split(int) - Method in class com.annimon.stream.Stream
 
startsWith(String) - Static method in class com.annimon.stream.Fn
 
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.
subtypeOf(Class<?>) - Static method in class com.annimon.stream.Fn
 
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.
summingDouble(ToDoubleFunction<? super T>) - Static method in class com.annimon.stream.Fn
 
summingInt(ToIntFunction<? super T>) - Static method in class com.annimon.stream.Collectors
Returns a Collector that summing integer-valued input elements.
summingInt(ToIntFunction<? super T>) - Static method in class com.annimon.stream.Fn
 
summingLong(ToLongFunction<? super T>) - Static method in class com.annimon.stream.Collectors
Returns a Collector that summing long-valued input elements.
summingLong(ToLongFunction<? super T>) - Static method in class com.annimon.stream.Fn
 
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_OF_LINKED_HASH_MAP - Static variable in class com.annimon.stream.Fn
 
SUPPLIER_OF_MAP - Static variable in class com.annimon.stream.Fn
 

T

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.
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.
test(T, U) - Method in interface com.annimon.stream.function.BiPredicate
Tests the value for satisfying predicate.
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) - 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.
testByKey(Predicate<? super K>) - Static method in class com.annimon.stream.Fn
 
testByValue(Predicate<? super V>) - Static method in class com.annimon.stream.Fn
 
throwingMerger() - Static method in class com.annimon.stream.Fn
 
toArray() - Method in class com.annimon.stream.DoubleStream
Returns an array containing the elements of this stream.
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.
toCollection(Supplier<R>) - Static method in class com.annimon.stream.Collectors
Returns a Collector that fills new Collection, provided by collectionSupplier, with input elements.
toCollection(Supplier<C>) - Method in class com.annimon.stream.Stream
 
ToDoubleFunction<T> - Interface in com.annimon.stream.function
Represents a function which produces an double-valued result from input argument.
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() - Static method in class com.annimon.stream.Fn
 
toList() - Method in class com.annimon.stream.Stream
Collects elements to a new List.
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>, BinaryOperator<V>) - Static method in class com.annimon.stream.Collectors
 
toMap(Function<? super T, ? extends K>, Function<? super T, ? extends V>, Supplier<M>) - Static method in class com.annimon.stream.Collectors
 
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.
toMap() - Method in class com.annimon.stream.EntryStream
 
toMap(BinaryOperator<V>) - Method in class com.annimon.stream.EntryStream
 
toMap(Supplier<M>) - Method in class com.annimon.stream.EntryStream
 
toMap(BinaryOperator<V>, Supplier<M>) - Method in class com.annimon.stream.EntryStream
 
toMap(Function<? super T, ? extends K>) - Method in class com.annimon.stream.Stream
 
toMap(Function<? super T, ? extends K>, Function<? super T, ? extends V>) - Method in class com.annimon.stream.Stream
 
toMap(Function<? super T, ? extends K>, Function<? super T, ? extends V>, BinaryOperator<V>) - Method in class com.annimon.stream.Stream
 
toMap(Function<? super T, ? extends K>, Function<? super T, ? extends V>, Supplier<M>) - Method in class com.annimon.stream.Stream
 
toMap(Function<? super T, ? extends K>, Function<? super T, ? extends V>, BinaryOperator<V>, Supplier<M>) - Method in class com.annimon.stream.Stream
 
toSet() - Static method in class com.annimon.stream.Collectors
Returns a Collector that fills new Set with input elements.
toSet() - Static method in class com.annimon.stream.Fn
 
toSet() - Method in class com.annimon.stream.Stream
 
toString() - Method in class com.annimon.stream.Indexed
 
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
 
trim() - Static method in class com.annimon.stream.Fn
 
trimToEmpty() - Static method in class com.annimon.stream.Fn
 
trimToNull() - Static method in class com.annimon.stream.Fn
 

U

UnaryOperator<T> - Interface in com.annimon.stream.function
Operation on a single operand that produces a result of the same type as its operand.

V

value() - Static method in class com.annimon.stream.Fn
 
value() - Method in class com.annimon.stream.Indexed
value.
values() - Method in class com.annimon.stream.EntryStream
 

Z

zip(K[], V[]) - Static method in class com.annimon.stream.EntryStream
 
zip(Collection<? extends K>, Collection<? extends V>) - Static method in class com.annimon.stream.EntryStream
 
zip(Stream<? extends F>, Stream<? extends S>, BiFunction<? super F, ? super S, ? extends R>) - Static method in class com.annimon.stream.Stream
Combines two streams by applying specified combiner function to each element at same position.
zip(Iterator<? extends F>, Iterator<? extends S>, BiFunction<? super F, ? super S, ? extends R>) - Static method in class com.annimon.stream.Stream
Combines two iterators to a stream by applying specified combiner function to each element at same position.
zip(Collection<? extends F>, Collection<? extends S>, BiFunction<? super F, ? super S, ? extends R>) - Static method in class com.annimon.stream.Stream
 
zip(F[], S[], BiFunction<? super F, ? super S, ? extends R>) - Static method in class com.annimon.stream.Stream
 

_

__(Function<? super DoubleStream, R>) - Method in class com.annimon.stream.DoubleStream
Applies custom operator on stream.
__(Function<? super EntryStream<K, V>, R>) - Method in class com.annimon.stream.EntryStream
 
__(Function<? super IntStream, R>) - Method in class com.annimon.stream.IntStream
Applies custom operator on stream.
__(Function<? super LongStream, R>) - Method in class com.annimon.stream.LongStream
Applies custom operator on stream.
__(Function<? super Stream<T>, R>) - Method in class com.annimon.stream.Stream
Applies custom operator on stream.
A B C D E F G H I J K L M N O P R S T U V Z _