Index

A C E F I L M N O P R T U 
All Classes and Interfaces|All Packages

A

allMatch(Predicate<? super T>) - Method in interface InfList
Returns whether all elements of this stream match the provided predicate.
anyMatch(Predicate<? super T>) - Method in interface InfList
Returns whether any elements of this stream match the provided predicate.

C

concat(InfList<? extends T>) - Method in interface InfList
Creates a lazily concatenated infinite list whose elements are all the elements of this list followed by all the elements of the other list.

E

empty() - Static method in class Maybe
Returns an empty Maybe instance.

F

filter(Predicate<? super T>) - Method in interface InfList
Returns an infinite list consisting of the elements of this list that match the given predicate.
filter(Predicate<? super T>) - Method in class Maybe
If a value is present, and the value matches the given predicate, returns an Maybe describing the value, otherwise returns an empty Maybe.
findFirst() - Method in interface InfList
Returns an Maybe describing the first element of this infinite list, or an empty Maybe if the list is empty.
flatMap(Function<? super T, ? extends InfList<? extends R>>) - Method in interface InfList
Returns an infinite list consisting of the results of replacing each element of this list with the contents of a mapped list produced by applying the provided mapping function to each element.
flatMap(Function<? super T, ? extends Maybe<? extends R>>) - Method in class Maybe
If a value is present, returns the result of applying the given Maybe-bearing mapping function to the value, otherwise returns an empty Maybe.
forEach(Consumer<? super T>) - Method in interface InfList
Performs an action for each element of this infinite list.

I

ifPresent(Consumer<? super T>) - Method in class Maybe
If a value is present, performs the given action with the value, otherwise does nothing.
InfList<T> - Interface in Unnamed Package
A infinite sequence of elements supporting sequential operations.
iterate(T, UnaryOperator<T>) - Static method in interface InfList
Returns an infinite sequential ordered InfList produced by iterative application of a function next to an initial element seed, producing a InfList consisting of seed, next(seed), next(next(seed)), etc.

L

limit(int) - Method in interface InfList
Returns an infinite list consisting of the elements of this list, truncated to be no longer than maxSize in length.

M

map(Function<? super T, ? extends R>) - Method in interface InfList
Returns an infinite list consisting of the results of applying the given function to the elements of this list.
map(Function<? super T, ? extends R>) - Method in class Maybe
If a value is present, returns an Maybe describing the result of applying the given mapping function to the value, otherwise returns an empty Maybe.
Maybe<T> - Class in Unnamed Package
A container object which may or may not contain a non-null value.

N

noneMatch(Predicate<? super T>) - Method in interface InfList
Returns whether no elements of this stream match the provided predicate.

O

of(T) - Static method in class Maybe
Returns an Maybe describing the given value, if non-null, otherwise returns an empty Maybe.
of(T...) - Static method in interface InfList
Returns a sequential ordered stream whose elements are the specified values.
or(Supplier<? extends Maybe<? extends T>>) - Method in class Maybe
If a value is present, returns an Maybe describing the value, otherwise returns an Maybe produced by the supplying function.
orElse(T) - Method in class Maybe
If a value is present, returns the value, otherwise returns other.
orElseGet(Supplier<? extends T>) - Method in class Maybe
If a value is present, returns the value, otherwise returns the result produced by the supplying function.

P

Pair<T,U> - Class in Unnamed Package
This utility class stores two items together in a pair.
Pair(T, U) - Constructor for class Pair
Creates a Pair of items.

R

reduce(BinaryOperator<T>) - Method in interface InfList
Performs a reduction on the elements of this infinite list, using a function, and returns a Maybe describing the reduced value, if any.
reduce(U, BiFunction<U, T, U>) - Method in interface InfList
Performs a reduction on the elements of this infinite list, using the provided identity value and an accumulation function, and returns the reduced value.

T

t() - Method in class Pair
Returns the first item of the pair.
takeWhile(Predicate<? super T>) - Method in interface InfList
Returns an infinite list consisting of the longest prefix of elements taken from this list that match the given predicate.
toString() - Method in class Maybe
Returns a non-empty string representation of this Maybe suitable for debugging.
toString() - Method in class Pair
Returns the string representation of the pair.

U

u() - Method in class Pair
Returns the second item of the pair.
A C E F I L M N O P R T U 
All Classes and Interfaces|All Packages