Package com.pivovarit.function
The
com.pivovarit.function
package contains checked equivalents of the java.util.function
package-
Interface Summary Interface Description ThrowingBiConsumer<T,U,E extends java.lang.Exception> Represents an operation that accepts two input arguments and returns no result.ThrowingBiFunction<T1,T2,R,E extends java.lang.Exception> Represents a function that accepts two arguments and produces a result.ThrowingBinaryOperator<T,E extends java.lang.Exception> Represents an operation upon two operands of the same type, producing a result of the same type as the operands.ThrowingBiPredicate<T,U,E extends java.lang.Exception> Represents a predicate (boolean-valued function) of two arguments.ThrowingConsumer<T,E extends java.lang.Exception> Represents a function that accepts one argument and does not return any value; Function might throw a checked exception instance.ThrowingFunction<T,R,E extends java.lang.Exception> Represents a function that accepts one argument and returns a value; Function might throw a checked exception instance.ThrowingIntFunction<R,E extends java.lang.Exception> Functional interface mirroringIntFunction
for primitive ints from the java.util.function package.ThrowingPredicate<T,E extends java.lang.Exception> Represents a function that accepts one argument and returns a boolean value Function might throw a checked exception instance.ThrowingRunnable<E extends java.lang.Exception> Represents an action that can be performed.ThrowingSupplier<T,E extends java.lang.Exception> Represents a function that accepts zero arguments and returns some value.ThrowingUnaryOperator<T,E extends java.lang.Exception> Represents an operation on a single operand that produces a result of the same type as its operand. -
Class Summary Class Description SneakyThrowUtil