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(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(Predicate<? super T>) - Method in class com.annimon.stream.Stream
Tests whether all elements match the given predicate.
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(Function<? super T, ? extends R>, Function<? super R, ? extends V>) - Static method in class com.annimon.stream.function.Function.Util
Composes Function calls.
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(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(I) - Method in interface com.annimon.stream.function.ThrowableFunction
Applies this function to the given argument.
averaging(Function<? super T, Double>) - Static method in class com.annimon.stream.Collectors
Returns a Collector that calculates average of 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
Operation on a single operand that produces a result of the same type as its operand.
BinaryOperator.Util - Class in com.annimon.stream.function
 

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>, 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(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.Stream
Counts the number 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<Stream<T>, R>) - Method in class com.annimon.stream.Stream
Applies custom operator on stream.

D

distinct() - Method in class com.annimon.stream.Stream
Returns Stream with distinct elements (as determinated by equals method).
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.Optional
Returns an empty Optional.
empty() - Static method in class com.annimon.stream.Stream
Returns an empty stream.
equals(Object) - Method in class com.annimon.stream.Exceptional
 
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
 
Exceptional<T> - Class in com.annimon.stream
A container for values which provided by ThrowableSupplier.

F

filter(Predicate<? super T>) - Method in class com.annimon.stream.Optional
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.
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.Stream
Returns the first element wrapped by Optional class.
finisher() - Method in interface com.annimon.stream.Collector
Function produces result by transforming intermediate type.
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
Generates Stream by concatenating elements that obtained by applying the given function.
forEach(Consumer<? super T>) - Method in class com.annimon.stream.Stream
Performs the given action to 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(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 inner value if present, otherwise throws NoSuchElementException.
getException() - Method in class com.annimon.stream.Exceptional
Returns exception.
getIterator() - Method in class com.annimon.stream.Stream
Returns internal 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.
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(Object) - Static method in class com.annimon.stream.Objects
Returns the hash code of object.
hashCode() - Method in class com.annimon.stream.Optional
 
hasNext - Variable in class com.annimon.stream.LsaExtIterator
 
hasNext() - Method in class com.annimon.stream.LsaExtIterator
 

I

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.Optional
Invokes consumer function with value if present.
IntFunction<R> - Interface in com.annimon.stream.function
Represents a function that accepts an int-valued argument and produces a result.
isInit - Variable in class com.annimon.stream.LsaExtIterator
 
isPresent() - Method in class com.annimon.stream.Optional
Checks value present.
iterate(T, UnaryOperator<T>) - Static method in class com.annimon.stream.Stream
Creates a Stream by applying UnaryOperator operation to an initial element seed.

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.Stream
Returns Stream with first maxSize elements.
LsaExtIterator<T> - Class in com.annimon.stream
 
LsaExtIterator() - Constructor for class com.annimon.stream.LsaExtIterator
 

M

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(Function<? super T, ? extends U>) - Method in class com.annimon.stream.Optional
Invokes 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 function before accumulation.
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(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(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
 
nextIteration() - Method in class com.annimon.stream.LsaExtIterator
 
noneMatch(Predicate<? super T>) - Method in class com.annimon.stream.Stream
Tests whether no elements match the given predicate.

O

Objects - Class in com.annimon.stream
Common operations with Object.
of(ThrowableSupplier<T, Throwable>) - Static method in class com.annimon.stream.Exceptional
Returns an Exceptional with value provided by given ThrowableSupplier function.
of(T) - Static method in class com.annimon.stream.Optional
Returns an Optional with the specified present non-null value.
of(Map<K, V>) - Static method in class com.annimon.stream.Stream
Creates a Stream from Map entries.
of(List<? extends T>) - Static method in class com.annimon.stream.Stream
Creates a Stream from List.
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.
ofNullable(T) - Static method in class com.annimon.stream.Optional
Returns an Optional with the specified value, or empty Optional if value is null.
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.
or(Predicate<? super T>, Predicate<? super T>) - Static method in class com.annimon.stream.function.Predicate.Util
Applies logical OR to predicates.
orElse(T) - Method in class com.annimon.stream.Optional
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.
orElseThrow(Supplier<? extends X>) - Method in class com.annimon.stream.Optional
Returns inner value if present, otherwise throws the exception provided by supplier function.

P

peek(Consumer<? super T>) - Method in class com.annimon.stream.Stream
Perform provided action to each elements.
Predicate<T> - Interface in com.annimon.stream.function
Represents a predicate, i.e. function with boolean type result.
Predicate.Util - Class in com.annimon.stream.function
 

R

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.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).
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 the input elements.
reducing(R, Function<? super T, ? extends R>, BinaryOperator<R>) - Static method in class com.annimon.stream.Collectors
Returns a Collector that reduces the input elements.
remove() - Method in class com.annimon.stream.LsaExtIterator
 
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.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.
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.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<T> - Class in com.annimon.stream
A sequence of elements supporting aggregate operations.
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(Predicate<? super T>) - Method in class com.annimon.stream.Stream
Takes elements while the predicate is true.
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, i.e. 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.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.
toList() - Static method in class com.annimon.stream.Collectors
Returns a Collector that fills new List 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 List 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(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
 

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(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.
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 © 2016. All rights reserved.