Skip navigation links
A B C D E F G H I J L M N O P R S T U X Z 

A

accept(T, U) - Method in interface com.annimon.stream.function.BiConsumer
Performs operation on two arguments.
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.
accept(T) - Method in interface com.annimon.stream.function.ThrowableConsumer
Performs operation on 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(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.
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(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(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(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.
apply(I) - Method in interface com.annimon.stream.function.ThrowableFunction
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.
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.

B

BiConsumer<T,U> - Interface in com.annimon.stream.function
Represents an operation on two input arguments.
BiConsumer.Util - Class in com.annimon.stream.function
 
BiFunction<T,U,R> - Interface in com.annimon.stream.function
Represents a function which produces result from two input arguments.
BiFunction.Util - Class in com.annimon.stream.function
 
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.
BinaryOperator.Util - Class in com.annimon.stream.function
 
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

chunkBy(Function<? super T, ? extends K>) - Method in class com.annimon.stream.Stream
Partitions Stream into Lists according to the given classifier function.
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
 
compare(T, T, Comparator<? super T>) - Static method in class com.annimon.stream.Objects
Compares two objects with provided comparator.
compose(Function<? super T, ? extends R>, Function<? super V, ? extends T>) - Static method in class com.annimon.stream.function.Function.Util
Composes Function calls.
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.
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<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<Stream<T>, R>) - Method in class com.annimon.stream.Stream
Applies custom operator on stream.

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.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 determinated by hashCode and equals methods).
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.
DoubleConsumer.Util - Class in com.annimon.stream.function
 
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).
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)
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.
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 and 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.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.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.
equals(Object) - Method in class com.annimon.stream.Exceptional
 
equals(Object) - Method in class com.annimon.stream.IntPair
 
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.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
 
Exceptional<T> - Class in com.annimon.stream
A container for values which provided by ThrowableSupplier.
executeIfAbsent(Runnable) - Method in class com.annimon.stream.Optional
Invokes action function if value is absent.
executeIfAbsent(Runnable) - Method in class com.annimon.stream.OptionalDouble
Invokes action function if value is absent.
executeIfAbsent(Runnable) - Method in class com.annimon.stream.OptionalInt
Invokes action function if value is absent.
executeIfAbsent(Runnable) - Method in class com.annimon.stream.OptionalLong
Invokes action function if value is absent.
executeIfPresent(Consumer<? super T>) - Method in class com.annimon.stream.Optional
Invokes consumer function with the value if present.
executeIfPresent(DoubleConsumer) - Method in class com.annimon.stream.OptionalDouble
Invokes consumer function with the value if present.
executeIfPresent(IntConsumer) - Method in class com.annimon.stream.OptionalInt
Invokes consumer function with value if present.
executeIfPresent(LongConsumer) - Method in class com.annimon.stream.OptionalLong
Invokes consumer function with the value if present.

F

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 present.
filter(DoublePredicate) - Method in class com.annimon.stream.OptionalDouble
Performs filtering on inner value if present.
filter(IntPredicate) - Method in class com.annimon.stream.OptionalInt
Performs filtering on inner value if present.
filter(LongPredicate) - Method in class com.annimon.stream.OptionalLong
Performs filtering on inner value if present.
filter(Predicate<? super T>) - Method in class com.annimon.stream.Stream
Returns Stream with elements that satisfy the given predicate.
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.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.
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.
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
 
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() - 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.
getAsDouble() - Method in interface com.annimon.stream.function.DoubleSupplier
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 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 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.
getIterator() - Method in class com.annimon.stream.Stream
Deprecated.
As of release 1.1.1, replaced by Stream.iterator()
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.
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.

H

hash(Object...) - Static method in class com.annimon.stream.Objects
Returns the hash code for objects.
hashCode() - Method in class com.annimon.stream.Exceptional
 
hashCode() - Method in class com.annimon.stream.IntPair
 
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.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
 
hasNext - Variable in class com.annimon.stream.LsaExtIterator
 
hasNext() - Method in class com.annimon.stream.LsaExtIterator
 
hasNext - Variable in class com.annimon.stream.PrimitiveExtIterator.OfDouble
 
hasNext() - Method in class com.annimon.stream.PrimitiveExtIterator.OfDouble
 
hasNext - Variable in class com.annimon.stream.PrimitiveExtIterator.OfInt
 
hasNext() - Method in class com.annimon.stream.PrimitiveExtIterator.OfInt
 
hasNext - Variable in class com.annimon.stream.PrimitiveExtIterator.OfLong
 
hasNext() - Method in class com.annimon.stream.PrimitiveExtIterator.OfLong
 

I

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(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(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.
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.
IntConsumer.Util - Class in com.annimon.stream.function
 
IntFunction<R> - Interface in com.annimon.stream.function
Represents a function that accepts an int-valued argument and produces a result.
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
 
IntPredicate - Interface in com.annimon.stream.function
Represents a predicate (function with boolean type result).
IntPredicate.Util - Class in com.annimon.stream.function
 
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)
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.
IntUnaryOperator.Util - Class in com.annimon.stream.function
 
isInit - Variable in class com.annimon.stream.LsaExtIterator
 
isInit - Variable in class com.annimon.stream.PrimitiveExtIterator.OfDouble
 
isInit - Variable in class com.annimon.stream.PrimitiveExtIterator.OfInt
 
isInit - Variable in class com.annimon.stream.PrimitiveExtIterator.OfLong
 
isPresent() - Method in class com.annimon.stream.Optional
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.

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.

L

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.
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.
LongConsumer.Util - Class in com.annimon.stream.function
 
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).
LongPredicate.Util - Class in com.annimon.stream.function
 
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)
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.
LongUnaryOperator.Util - Class in com.annimon.stream.function
 
LsaExtIterator<T> - Class in com.annimon.stream
Extended iterator for common purposes.
LsaExtIterator() - Constructor for class com.annimon.stream.LsaExtIterator
 

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(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(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.
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.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(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.
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.

N

negate(DoublePredicate) - Static method in class com.annimon.stream.function.DoublePredicate.Util
Applies logical negation to predicate.
negate(IntPredicate) - Static method in class com.annimon.stream.function.IntPredicate.Util
Applies logical negation to predicate.
negate(LongPredicate) - Static method in class com.annimon.stream.function.LongPredicate.Util
Applies logical negation to predicate.
negate(Predicate<? super T>) - Static method in class com.annimon.stream.function.Predicate.Util
Applies logical negation to predicate.
next - Variable in class com.annimon.stream.LsaExtIterator
 
next() - Method in class com.annimon.stream.LsaExtIterator
 
next - Variable in class com.annimon.stream.PrimitiveExtIterator.OfDouble
 
next - Variable in class com.annimon.stream.PrimitiveExtIterator.OfInt
 
next - Variable in class com.annimon.stream.PrimitiveExtIterator.OfLong
 
next() - Method in class com.annimon.stream.PrimitiveIterator.OfDouble
 
next() - Method in class com.annimon.stream.PrimitiveIterator.OfInt
 
next() - Method in class com.annimon.stream.PrimitiveIterator.OfLong
 
nextDouble() - Method in class com.annimon.stream.PrimitiveExtIterator.OfDouble
 
nextDouble() - Method in class com.annimon.stream.PrimitiveIterator.OfDouble
 
nextInt() - Method in class com.annimon.stream.PrimitiveExtIterator.OfInt
 
nextInt() - Method in class com.annimon.stream.PrimitiveIterator.OfInt
 
nextIteration() - Method in class com.annimon.stream.LsaExtIterator
 
nextIteration() - Method in class com.annimon.stream.PrimitiveExtIterator.OfDouble
 
nextIteration() - Method in class com.annimon.stream.PrimitiveExtIterator.OfInt
 
nextIteration() - Method in class com.annimon.stream.PrimitiveExtIterator.OfLong
 
nextLong() - Method in class com.annimon.stream.PrimitiveExtIterator.OfLong
 
nextLong() - Method in class com.annimon.stream.PrimitiveIterator.OfLong
 
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.

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(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 param
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(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.
OfDouble() - Constructor for class com.annimon.stream.PrimitiveExtIterator.OfDouble
 
OfDouble() - Constructor for class com.annimon.stream.PrimitiveIterator.OfDouble
 
OfInt() - Constructor for class com.annimon.stream.PrimitiveExtIterator.OfInt
 
OfInt() - Constructor for class com.annimon.stream.PrimitiveIterator.OfInt
 
OfLong() - Constructor for class com.annimon.stream.PrimitiveExtIterator.OfLong
 
OfLong() - Constructor for class com.annimon.stream.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(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(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.
ofRange(int, int) - Static method in class com.annimon.stream.Stream
Deprecated.
As of release 1.0.7, replaced by Stream.range(int, int)
ofRange(long, long) - Static method in class com.annimon.stream.Stream
Deprecated.
As of release 1.0.7, replaced by Stream.range(long, long)
ofRangeClosed(int, int) - Static method in class com.annimon.stream.Stream
Deprecated.
As of release 1.0.7, replaced by Stream.rangeClosed(int, int)
ofRangeClosed(long, long) - Static method in class com.annimon.stream.Stream
Deprecated.
As of release 1.0.7, replaced by Stream.rangeClosed(long, long)
Optional<T> - Class in com.annimon.stream
A container object which may or may not contain a non-null 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(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(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<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(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(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(Supplier<? extends X>) - Method in class com.annimon.stream.Optional
Returns inner value if present, otherwise throws the exception provided by supplier function.
orElseThrow(Supplier<X>) - Method in class com.annimon.stream.OptionalDouble
Returns the value if present, otherwise throws an exception provided by supplier function.
orElseThrow(Supplier<X>) - Method in class com.annimon.stream.OptionalInt
Returns the value if present, otherwise throws an exception provided by supplier function.
orElseThrow(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(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).
Predicate.Util - Class in com.annimon.stream.function
 
PrimitiveExtIterator - Class in com.annimon.stream
Extended PrimitiveIterator for common purposes.
PrimitiveExtIterator.OfDouble - Class in com.annimon.stream
 
PrimitiveExtIterator.OfInt - Class in com.annimon.stream
 
PrimitiveExtIterator.OfLong - Class in com.annimon.stream
 
PrimitiveIterator - Class in com.annimon.stream
A base type for primitive specializations of Iterator.
PrimitiveIterator.OfDouble - Class in com.annimon.stream
 
PrimitiveIterator.OfInt - Class in com.annimon.stream
 
PrimitiveIterator.OfLong - Class in com.annimon.stream
 

R

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.
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.LsaExtIterator
 
remove() - Method in class com.annimon.stream.PrimitiveIterator.OfDouble
 
remove() - Method in class com.annimon.stream.PrimitiveIterator.OfInt
 
remove() - Method in class com.annimon.stream.PrimitiveIterator.OfLong
 
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.

S

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(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(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.
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.
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 Stream 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 Stream 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.

T

takeWhile(DoublePredicate) - Method in class com.annimon.stream.DoubleStream
Takes elements while the predicate is true.
takeWhile(IntPredicate) - Method in class com.annimon.stream.IntStream
Takes elements while the predicate is true.
takeWhile(LongPredicate) - Method in class com.annimon.stream.LongStream
Takes elements while the predicate is true.
takeWhile(Predicate<? super T>) - Method in class com.annimon.stream.Stream
Takes elements while the predicate is true.
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.
test(T) - Method in interface com.annimon.stream.function.ThrowablePredicate
Tests the value for satisfying predicate.
ThrowableConsumer<T,E extends Throwable> - Interface in com.annimon.stream.function
Represents an operation on input argument and can throw an exception.
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.
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() - 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.
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() - 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>, 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.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
 

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.
UnaryOperator.Util - Class in com.annimon.stream.function
 

X

xor(DoublePredicate, DoublePredicate) - Static method in class com.annimon.stream.function.DoublePredicate.Util
Applies logical XOR to predicates.
xor(IntPredicate, IntPredicate) - Static method in class com.annimon.stream.function.IntPredicate.Util
Applies logical XOR to predicates.
xor(LongPredicate, LongPredicate) - Static method in class com.annimon.stream.function.LongPredicate.Util
Applies logical XOR to predicates.
xor(Predicate<? super T>, Predicate<? super T>) - Static method in class com.annimon.stream.function.Predicate.Util
Applies logical XOR to predicates.

Z

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.
A B C D E F G H I J L M N O P R S T U X Z 
Skip navigation links

Copyright © 2017. All rights reserved.