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 extends R,R>
Function<T,R> Function.identity()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.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.