Package com.pivovarit.function
package com.pivovarit.function
The
com.pivovarit.function package contains checked equivalents of the java.util.function package-
ClassDescriptionThrowingBiConsumer<T, U, E extends Exception>Represents an operation that accepts two input arguments and returns no result.ThrowingBiFunction<T1, T2, R, E extends Exception>Represents a function that accepts two arguments and produces a result.ThrowingBinaryOperator<T, E extends 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 Exception>Represents a predicate (boolean-valued function) of two arguments.ThrowingConsumer<T, E extends 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 Exception>Represents a function that accepts one argument and returns a value; Function might throw a checked exception instance.ThrowingIntFunction<R, E extends Exception>Functional interface mirroring
IntFunction<R>for primitive ints from the java.util.function package.ThrowingPredicate<T, E extends Exception>Represents a function that accepts one argument and returns a boolean value Function might throw a checked exception instance.ThrowingRunnable<E extends Exception>Represents an action that can be performed.ThrowingSupplier<T, E extends Exception>Represents a function that accepts zero arguments and returns some value.ThrowingUnaryOperator<T, E extends Exception>Represents an operation on a single operand that produces a result of the same type as its operand.