public class Throwing extends Object
You may instantiate this class if you wish, for instance, to add your own throwing instances of existing functional interfaces (either your own, or those of the JDK not covered by this package).
All method names are defined after the non throwing instance they provide
a chain for (for instance, Throwing.function(), Throwing.consumer(), etc etc).
Chainerpublic static <T> ComparatorChainer<T> comparator(ThrowingComparator<T> comparator)
public static <T> ConsumerChainer<T> consumer(ThrowingConsumer<T> consumer)
public static <T,U> BiConsumerChainer<T,U> biConsumer(ThrowingBiConsumer<T,U> consumer)
public static DoubleConsumerChainer doubleConsumer(ThrowingDoubleConsumer consumer)
public static IntConsumerChainer intConsumer(ThrowingIntConsumer consumer)
public static LongConsumerChainer longConsumer(ThrowingLongConsumer consumer)
public static <T> ObjDoubleConsumerChainer<T> objDoubleConsumer(ThrowingObjDoubleConsumer<T> consumer)
public static <T> ObjIntConsumerChainer<T> objIntConsumer(ThrowingObjIntConsumer<T> consumer)
public static <T> ObjLongConsumerChainer<T> objLongConsumer(ThrowingObjLongConsumer<T> consumer)
public static <T,R> FunctionChainer<T,R> function(ThrowingFunction<T,R> function)
public static <T,U,R> BiFunctionChainer<T,U,R> biFunction(ThrowingBiFunction<T,U,R> biFunction)
public static <T> ToDoubleFunctionChainer<T> toDoubleFunction(ThrowingToDoubleFunction<T> toDoubleFunction)
public static <T> ToIntFunctionChainer<T> toIntFunction(ThrowingToIntFunction<T> intFunction)
public static <T> ToLongFunctionChainer<T> toLongFunction(ThrowingToLongFunction<T> toLongFunction)
public static <R> DoubleFunctionChainer<R> doubleFunction(ThrowingDoubleFunction<R> doubleFunction)
public static DoubleToIntFunctionChainer doubleToIntFunction(ThrowingDoubleToIntFunction doubleToIntFunction)
public static DoubleToLongFunctionChainer doubleToLongFunction(ThrowingDoubleToLongFunction doubleToLongFunction)
public static <R> IntFunctionChainer<R> intFunction(ThrowingIntFunction<R> intFunction)
public static IntToDoubleFunctionChainer intToDoubleFunction(ThrowingIntToDoubleFunction intToDoubleFunction)
public static IntToLongFunctionChainer intToLongFunction(ThrowingIntToLongFunction intToLongFunction)
public static <R> LongFunctionChainer<R> longFunction(ThrowingLongFunction<R> longFunction)
public static LongToDoubleFunctionChainer longToDoubleFunction(ThrowingLongToDoubleFunction longToDoubleFunction)
public static LongToIntFunctionChainer longToIntFunction(ThrowingLongToIntFunction longToIntFunction)
public static <T> BinaryOperatorChainer<T> binaryOperator(ThrowingBinaryOperator<T> binaryOperator)
public static DoubleBinaryOperatorChainer doubleBinaryOperator(ThrowingDoubleBinaryOperator doubleBinaryOperator)
public static DoubleUnaryOperatorChainer doubleUnaryOperator(ThrowingDoubleUnaryOperator doubleUnaryOperator)
public static IntBinaryOperatorChainer intBinaryOperator(ThrowingIntBinaryOperator intBinaryOperator)
public static IntUnaryOperatorChainer intUnaryOperator(ThrowingIntUnaryOperator intUnaryOperator)
public static LongBinaryOperatorChainer longBinaryOperator(ThrowingLongBinaryOperator longBinaryOperator)
public static LongUnaryOperatorChainer longUnaryOperator(ThrowingLongUnaryOperator longUnaryOperator)
public static <T> UnaryOperatorChainer<T> unaryOperator(ThrowingUnaryOperator<T> unaryOperator)
public static <T> PredicateChainer<T> predicate(ThrowingPredicate<T> predicate)
public static IntPredicateChainer intPredicate(ThrowingIntPredicate intPredicate)
public static DoublePredicateChainer doublePredicate(ThrowingDoublePredicate doublePredicate)
public static LongPredicateChainer longPredicate(ThrowingLongPredicate longPredicate)
public static <T> SupplierChainer<T> supplier(ThrowingSupplier<T> supplier)
public static DoubleSupplierChainer doubleSupplier(ThrowingDoubleSupplier doubleSupplier)
public static IntSupplierChainer intSupplier(ThrowingIntSupplier intSupplier)
public static LongSupplierChainer longSupplier(ThrowingLongSupplier longSupplier)
public static RunnableChainer runnable(ThrowingRunnable runnable)