Uses of Interface
org.wildfly.clustering.function.Function
-
Uses of Function in org.wildfly.clustering.function
Subinterfaces of Function in org.wildfly.clustering.functionFields in org.wildfly.clustering.function declared as FunctionModifier and TypeFieldDescriptionstatic final Function<?, ?> Function.IDENTITYstatic final Function<?, ?> Function.NULLMethods in org.wildfly.clustering.function that return FunctionModifier and TypeMethodDescriptionstatic <T,R> Function <T, R> Function.empty()Returns a function that returns its parameter.static <T,R> Function <T, R> Returns a function that returns the value returned by the specified supplier, ignoring its parameter.Function.handle(BiFunction<T, RuntimeException, R> handler) Returns a new function that delegates to this function using the specified exception handler.static <T extends R,R>
Function<T, R> Function.identity()Returns a function that returns its parameter.static <T,R> Function <T, R> Function.of(R result) Returns a function that always returns the specified value, ignoring its parameter.Returns a function that applies this function if its parameter matches the specified predicate, or returns the value provided by the specified supplier otherwise.Function.withDefault(Predicate<T> predicate, Supplier<T> defaultValue) Returns a function that applies this function to the value returned by the specified provider if its value does not match the specified predicate.Methods in org.wildfly.clustering.function with parameters of type Function