- failure(Throwable) - Static method in class net.ninjacat.smooth.utils.Try
-
Creates a failed Try instance.
- filter(List<E>, Predicate<E>) - Static method in class net.ninjacat.smooth.collections.Lists
-
- filter(Predicate<E>) - Method in class net.ninjacat.smooth.iterators.Iter
-
Filters out elements of iterable iterator based on predicate.
- filter(Predicate<E>) - Method in class net.ninjacat.smooth.iterators.LazyIter
-
Filters out elements of iterable collection based on predicate.
- find(Predicate<E>, E) - Method in class net.ninjacat.smooth.iterators.Iter
-
Finds first element in iterator that matches supplied
Predicate
- find(Predicate<E>, E) - Method in class net.ninjacat.smooth.iterators.LazyIter
-
Finds element in collection that matches supplied
Predicate
- first(F) - Static method in class net.ninjacat.smooth.utils.Either
-
Creates an new Either instance with the first value.
- forEach(Procedure<E>) - Method in class net.ninjacat.smooth.iterators.Iter
-
- fromArray(T[]) - Static method in class net.ninjacat.smooth.iterators.ArrayIterable
-
Creates a new ArrayIterable for an array
- fromArray(T[]) - Static method in class net.ninjacat.smooth.iterators.ArrayIterator
-
Creates a new ArrayIterator for an array
- fromArray(E[]) - Static method in class net.ninjacat.smooth.iterators.Iter
-
Creates rich iterator wrapper around array of elements
- Func<R,P> - Interface in net.ninjacat.smooth.functions
-
Interface for a function with a single parameter
- Func2<R,P1,P2> - Interface in net.ninjacat.smooth.functions
-
Interface for a function with two parameters
- Function2<R,P1,P2> - Class in net.ninjacat.smooth.functions
-
Simple implementation of two-argument function with an implementation of partial application
- Function2() - Constructor for class net.ninjacat.smooth.functions.Function2
-
- Future<E> - Class in net.ninjacat.smooth.concurrent
-
Represents long-running operation that should be executed asynchronously.
- Future() - Constructor for class net.ninjacat.smooth.concurrent.Future
-
Creates a future with a default executor
- Future(ExecutorService) - Constructor for class net.ninjacat.smooth.concurrent.Future
-
Creates a future with supplied executor service
- of(T...) - Static method in class net.ninjacat.smooth.collections.Lists
-
- of(Object...) - Static method in class net.ninjacat.smooth.collections.Maps
-
Will create map, give list of key, value pairs.
- of(Pair<K, V>...) - Static method in class net.ninjacat.smooth.collections.Maps
-
Will create map, give list of key-value pairs.
- of(Enumeration<E>) - Static method in class net.ninjacat.smooth.iterators.Iter
-
- of(Collection<E>) - Static method in class net.ninjacat.smooth.iterators.Iter
-
Creates iterator over collection.
- of(Iterator<E>) - Static method in class net.ninjacat.smooth.iterators.Iter
-
Creates rich iterator wrapper around Java
Iterator.
- of(E...) - Static method in class net.ninjacat.smooth.iterators.Iter
-
Creates rich iterator wrapper around array of elements
- of(Collection<E>) - Static method in class net.ninjacat.smooth.iterators.LazyIter
-
Constructs new lazy iterable from collection.
- of(E, Collection<E>) - Static method in class net.ninjacat.smooth.iterators.LazyIter
-
- of(E...) - Static method in class net.ninjacat.smooth.iterators.LazyIter
-
Create new lazy iterable from array, sequence of parameters.
- of(T) - Static method in class net.ninjacat.smooth.utils.Option
-
Creates a new option from supplied value.
- of(L, R) - Static method in class net.ninjacat.smooth.utils.Pair
-
Creates new Pair of two elements.
- on(String) - Static method in class net.ninjacat.smooth.utils.Joiner
-
Creates a new Joiner object with a specified separator.
- onFailure(Procedure<Throwable>) - Method in class net.ninjacat.smooth.concurrent.Future
-
Sets failed execution handler.
- onSuccess(Procedure<E>) - Method in class net.ninjacat.smooth.concurrent.Future
-
Sets successful execution handler.
- Option<T> - Class in net.ninjacat.smooth.utils
-
An immutable object that contains either a non-null reference to another object or contains nothing, i.e.
- or(T) - Method in class net.ninjacat.smooth.utils.Option
-
Returns wrapped value, if this Option is not absent or supplied alternative otherwise.
- orGet(Provider<T>) - Method in class net.ninjacat.smooth.utils.Option
-
Returns wrapped value if this Option is not absent, otherwise calls supplied
Provider to calculate a new
value.
- orNull() - Method in class net.ninjacat.smooth.utils.Option
-