Package org.omegazero.common.util.function
package org.omegazero.common.util.function
Contains functional interfaces.
-
InterfacesClassDescriptionSimilar to a
Consumer, except that the functionalacceptmethod is allowed to throw the specified exception.Similar to aFunction, except that the functionalapplymethod is allowed to throw the specified exception.SpecificThrowingRunnable<E extends Throwable>Similar to aRunnable, except that the functionalrunmethod is allowed to throw the specified exception.Similar to aSupplier, except that the functionalgetmethod is allowed to throw the specified exception.Similar to aConsumer, except that the functionalacceptmethod is allowed to throw any exception.ThrowingFunction<T,R> Similar to aFunction, except that the functionalapplymethod is allowed to throw any exception.Similar to aRunnable, except that the functionalrunmethod is allowed to throw any exception.Similar to aSupplier, except that the functionalgetmethod is allowed to throw any exception.