Package com.github.robtimus.function.throwing
A collection of functional interfaces that can throw checked exceptions.
-
Interface Summary Interface Description ThrowingBiConsumer<T,U,X extends Throwable> Represents an operation that accepts two input arguments and returns no result.ThrowingBiFunction<T,U,R,X extends Throwable> Represents a function that accepts two arguments and produces a result.ThrowingBinaryOperator<T,X extends Throwable> Represents an operation upon two operands of the same type, producing a result of the same type as the operands.ThrowingBiPredicate<T,U,X extends Throwable> Represents a predicate (boolean-valued function) of two arguments.ThrowingBooleanSupplier<X extends Throwable> Represents a supplier ofboolean-valued results.ThrowingConsumer<T,X extends Throwable> Represents an operation that accepts a single input argument and returns no result.ThrowingDoubleBinaryOperator<X extends Throwable> Represents an operation upon twodouble-valued operands and producing adouble-valued result.ThrowingDoubleConsumer<X extends Throwable> Represents an operation that accepts a singledouble-valued argument and returns no result.ThrowingDoubleFunction<R,X extends Throwable> Represents a function that accepts adouble-valued argument and produces a result.ThrowingDoublePredicate<X extends Throwable> Represents a predicate (boolean-valued function) of onedouble-valued argument.ThrowingDoubleSupplier<X extends Throwable> Represents a supplier ofdouble-valued results.ThrowingDoubleToIntFunction<X extends Throwable> Represents a function that accepts adouble-valued argument and produces anint-valued result.ThrowingDoubleToLongFunction<X extends Throwable> Represents a function that accepts adouble-valued argument and produces along-valued result.ThrowingDoubleUnaryOperator<X extends Throwable> Represents an operation on a singledouble-valued operand that produces adouble-valued result.ThrowingFunction<T,R,X extends Throwable> Represents a function that accepts one argument and produces a result.ThrowingIntBinaryOperator<X extends Throwable> Represents an operation upon twoint-valued operands and producing anint-valued result.ThrowingIntConsumer<X extends Throwable> Represents an operation that accepts a singleint-valued argument and returns no result.ThrowingIntFunction<R,X extends Throwable> Represents a function that accepts anint-valued argument and produces a result.ThrowingIntPredicate<X extends Throwable> Represents a predicate (boolean-valued function) of oneint-valued argument.ThrowingIntSupplier<X extends Throwable> Represents a supplier ofint-valued results.ThrowingIntToDoubleFunction<X extends Throwable> Represents a function that accepts anint-valued argument and produces adouble-valued result.ThrowingIntToLongFunction<X extends Throwable> Represents a function that accepts aint-valued argument and produces along-valued result.ThrowingIntUnaryOperator<X extends Throwable> Represents an operation on a singleint-valued operand that produces anint-valued result.ThrowingLongBinaryOperator<X extends Throwable> Represents an operation upon twolong-valued operands and producing along-valued result.ThrowingLongConsumer<X extends Throwable> Represents an operation that accepts a singlelong-valued argument and returns no result.ThrowingLongFunction<R,X extends Throwable> Represents a function that accepts along-valued argument and produces a result.ThrowingLongPredicate<X extends Throwable> Represents a predicate (boolean-valued function) of onelong-valued argument.ThrowingLongSupplier<X extends Throwable> Represents a supplier oflong-valued results.ThrowingLongToDoubleFunction<X extends Throwable> Represents a function that accepts along-valued argument and produces adouble-valued result.ThrowingLongToIntFunction<X extends Throwable> Represents a function that accepts along-valued argument and produces anint-valued result.ThrowingLongUnaryOperator<X extends Throwable> Represents an operation on a singlelong-valued operand that produces along-valued result.ThrowingObjDoubleConsumer<T,X extends Throwable> Represents an operation that accepts an object-valued and adouble-valued argument, and returns no result.ThrowingObjIntConsumer<T,X extends Throwable> Represents an operation that accepts an object-valued and anint-valued argument, and returns no result.ThrowingObjLongConsumer<T,X extends Throwable> Represents an operation that accepts an object-valued and along-valued argument, and returns no result.ThrowingPredicate<T,X extends Throwable> Represents a predicate (boolean-valued function) of one argument.ThrowingRunnable<X extends Throwable> Represents a task that accepts no input and returns no result.ThrowingSupplier<T,X extends Throwable> Represents a supplier of results.ThrowingToDoubleBiFunction<T,U,X extends Throwable> Represents a function that accepts two arguments and produces adouble-valued result.ThrowingToDoubleFunction<T,X extends Throwable> Represents a function that produces adouble-valued result.ThrowingToIntBiFunction<T,U,X extends Throwable> Represents a function that accepts two arguments and produces anint-valued result.ThrowingToIntFunction<T,X extends Throwable> Represents a function that produces anint-valued result.ThrowingToLongBiFunction<T,U,X extends Throwable> Represents a function that accepts two arguments and produces along-valued result.ThrowingToLongFunction<T,X extends Throwable> Represents a function that produces along-valued result.ThrowingUnaryOperator<T,X extends Throwable> Represents an operation on a single operand that produces a result of the same type as its operand. -
Exception Summary Exception Description UncheckedException Wraps a throwable with an unchecked exception.