Uses of Interface
com.gengoai.function.CheckedFunction
-
Packages that use CheckedFunction Package Description com.gengoai.function Checked and Serializable versions of Java 8's functional elements.com.gengoai.parsing -
-
Uses of CheckedFunction in com.gengoai.function
Methods in com.gengoai.function that return CheckedFunction Modifier and Type Method Description default <V> CheckedFunction<T,V>
CheckedFunction. andThen(CheckedFunction<? super R,? extends V> after)
And then checked function.default <R> CheckedFunction<T,R>
CheckedConsumer. asFunction()
As consumer serializable consumer.static <T,R>
CheckedFunction<T,R>CheckedConsumer. asFunction(CheckedConsumer<T> consumer)
static <T,R>
CheckedFunction<T,R>CheckedConsumer. asFunction(CheckedConsumer<T> consumer, R returnValue)
default <R> CheckedFunction<T,R>
CheckedConsumer. asFunction(R returnValue)
As consumer serializable consumer.default <V> CheckedFunction<V,R>
CheckedFunction. compose(CheckedFunction<? super V,? extends T> before)
Compose checked function.static <T> CheckedFunction<T,T>
CheckedFunction. identity()
Identity serializable function.static <T,R>
CheckedFunction<T,R>CheckedFunction. literal(R returnValue)
Methods in com.gengoai.function with parameters of type CheckedFunction Modifier and Type Method Description default <V> CheckedFunction<T,V>
CheckedFunction. andThen(CheckedFunction<? super R,? extends V> after)
And then checked function.static <T> CheckedConsumer<T>
CheckedFunction. asConsumer(CheckedFunction<T,?> function)
As consumer serializable consumer.default <V> CheckedFunction<V,R>
CheckedFunction. compose(CheckedFunction<? super V,? extends T> before)
Compose checked function.static <T,R>
SerializableFunction<T,R>Unchecked. function(CheckedFunction<T,R> checked)
Generates a version of Function that will capture exceptions and rethrow them as runtime exceptions -
Uses of CheckedFunction in com.gengoai.parsing
Methods in com.gengoai.parsing with parameters of type CheckedFunction Modifier and Type Method Description protected <E extends Expression>
voidEvaluator. $(@NonNull Class<E> expressionClass, @NonNull Tag type, @NonNull CheckedFunction<E,? extends O> function)
Adds a switch statement where the condition is that the expression is of typeexpressionClass
and the expressions's token type is an instance oftype
.protected <E extends Expression>
voidEvaluator. $(Class<E> expressionClass, CheckedFunction<E,? extends O> function)
Adds a switch statement where the condition is that the expression is of typeexpressionClass
.
-