Uses of Interface
com.gengoai.function.CheckedConsumer
-
Packages that use CheckedConsumer Package Description com.gengoai.function Checked and Serializable versions of Java 8's functional elements. -
-
Uses of CheckedConsumer in com.gengoai.function
Methods in com.gengoai.function that return CheckedConsumer Modifier and Type Method Description default CheckedConsumer<T>
CheckedFunction. asConsumer()
As consumer serializable consumer.static <T> CheckedConsumer<T>
CheckedFunction. asConsumer(CheckedFunction<T,?> function)
As consumer serializable consumer.Methods in com.gengoai.function with parameters of type CheckedConsumer Modifier and Type Method Description static <T,R>
CheckedFunction<T,R>CheckedConsumer. asFunction(CheckedConsumer<T> consumer)
static <T,R>
CheckedFunction<T,R>CheckedConsumer. asFunction(CheckedConsumer<T> consumer, R returnValue)
static <T> SerializableConsumer<T>
Unchecked. consumer(CheckedConsumer<T> checked)
Generates a version of Consumer that will capture exceptions and rethrow them as runtime exceptionsstatic <T> SerializableConsumer<T>
Unchecked. consumer(CheckedConsumer<T> consumer, SerializableFunction<Throwable,Throwable> throwableHandler)
-