saker.util Documentation TaskDoc JavaDoc Packages
package saker.util.function
Package containing various functional interfaces and related classes.
Interfaces
ThrowingFunction
Functional interface similar to Function, except the apply(T) method is allowed to throw an arbitrary exception.
ThrowingRunnable
Functional interface similar to Runnable, except the run() method is allowed to throw an arbitrary exception.
ThrowingSupplier
Functional interface similar to Supplier, except the get() method is allowed to throw an arbitrary exception.
TriConsumer
Functional interface similar to Consumer, but takes 3 arguments intead of 1.
TriFunction
Functional interface similar to Function, but takes 3 arguments instead of 1.
TriPredicate
Functional interface similar to Predicate, but takes 3 arguments instead of 1.
Classes
Functionals
Utility class containing various helper functions for dealing with functional interfaces.
LazySupplier
Supplier implementation that will lazily compute its result value once and return that in the following calls.