- accept(T) - Method in interface almost.functional.Consumer
-
Performs this operation on the given argument.
- addCompletedConsumer(Consumer<Boolean>...) - Method in class almost.functional.reactive.BroadcastObserver
-
Add multiple completed Consumers to this observer.
- addErrorConsumer(Consumer<Throwable>...) - Method in class almost.functional.reactive.BroadcastObserver
-
Add multiple error Consumers to this observer.
- addNextConsumer(Consumer<T>...) - Method in class almost.functional.reactive.BroadcastObserver
-
Add multiple next Consumers to this observer.
- allMatch(Predicate<? super T>) - Method in class almost.functional.utils.Stream
-
Returns whether all elements of this stream match the provided predicate.
- almost.functional - package almost.functional
-
Functional classes and interfaces of Almost Functional.
- almost.functional.reactive - package almost.functional.reactive
-
Package includes rudimentary reactive style code.
- almost.functional.utils - package almost.functional.utils
-
Utility classes and functions in support of the functional aspects of Almost Functional.
- and(Predicate<? super T>, Predicate<? super T>) - Static method in class almost.functional.Predicates
-
Create a predicate which is a logical and of two existing predicate.
- any(Iterable<T>, Predicate<? super T>) - Static method in class almost.functional.utils.Iterables
-
Determine if any element of an iterable matches a given predicate.
- anyMatch(Predicate<? super T>) - Method in class almost.functional.utils.Stream
-
Returns whether any elements of this stream match the provided predicate.
- apply(F, S) - Method in interface almost.functional.BiFunction
-
Apply the function to the first and second argument and return a result.
- apply(A) - Method in interface almost.functional.Function
-
Applies this function to the given argument.
- ArrayIterable<T> - Class in almost.functional.utils
-
An iterable over an array.
- ArrayIterable(T...) - Constructor for class almost.functional.utils.ArrayIterable
-
Basic constructor.
- ArrayIterable.ArrayIterator<D> - Class in almost.functional.utils
-
- ArrayIterable.ArrayIterator(D...) - Constructor for class almost.functional.utils.ArrayIterable.ArrayIterator
-
- Observer<T> - Interface in almost.functional.reactive
-
An Observer implementation that observes data, errors, and the completion of what is being
observed.
- of(T) - Static method in class almost.functional.Optional
-
Returns an Optional with the specified present non-null value.
- of(Iterable<R>) - Static method in class almost.functional.utils.Stream
-
Create a new stream of the elements that the iterable.iterator() will yield
- of(R...) - Static method in class almost.functional.utils.Stream
-
Create a stream of the elements provided.
- of(Iterator<R>) - Static method in class almost.functional.utils.Stream
-
Create a stream based on an iterator.
- ofNullable(T) - Static method in class almost.functional.Optional
-
Returns an Optional of a value which might be null.
- onClose(Runnable) - Method in class almost.functional.utils.Stream
-
Add Runnables to run when the stream closes.
- Optional<T> - Class in almost.functional
-
A container object which may or may not contain a non-null value.
- or(Predicate<? super T>, Predicate<? super T>) - Static method in class almost.functional.Predicates
-
Create a predicate which is a logical or of two existing predicate.
- orElse(T) - Method in class almost.functional.Optional
-
Return the value if present, otherwise return other.
- orElseRun(Runnable) - Method in class almost.functional.Optional
-
If the optional is empty run the Runnable.
- orElseSupplier(Supplier<T>) - Method in class almost.functional.Optional
-
Return the value if present, otherwise get the value from the Supplier.
- orElseThrow(String) - Method in class almost.functional.Optional
-
If optional is not empty return it's value, if empty throw a NoSuchElementException with message.