Uses of Interface
org.wildfly.clustering.function.BiFunction
-
Uses of BiFunction in org.wildfly.clustering.function
Subinterfaces of BiFunction in org.wildfly.clustering.functionFields in org.wildfly.clustering.function declared as BiFunctionModifier and TypeFieldDescriptionstatic final BiFunction<?, ?, ?> BiFunction.FORMER_IDENTITYstatic final BiFunction<?, ?, ?> BiFunction.LATTER_IDENTITYstatic final BiFunction<?, ?, ?> BiFunction.NULLMethods in org.wildfly.clustering.function that return BiFunctionModifier and TypeMethodDescriptiondefault <V> BiFunction<T, U, V> default <V1,V2> BiFunction <V1, V2, R> BiFunction.compose(Function<? super V1, ? extends T> before1, Function<? super V2, ? extends U> before2) Returns a composed function that applies the specified functions to each parameter as inputs to this function.default <V1,V2> BiFunction <V1, V2, R> Function.compose(BiFunction<V1, V2, T> mapper) Composes a binary function that invokes this function using result of the specified binary function.static <T,U, R> BiFunction <T, U, R> BiFunction.empty()Returns a function that always returns the specified value, ignoring its parameters.static <T extends R,U, R>
BiFunction<T, U, R> BiFunction.former()Returns a function that returns its first parameter.static <T,U, R> BiFunction <T, U, R> Returns a function that returns the value returned by the specified supplier, ignoring its parameter.static <T,U extends R, R>
BiFunction<T, U, R> BiFunction.latter()Returns a function that returns its second parameter.static <T,U, R> BiFunction <T, U, R> BiFunction.of(R result) Returns a function that always returns the specified value, ignoring its parameter.default BiFunction<T, U, R> Returns a function that applies this function if its parameters matches the specified predicate, or returns the value provided by the specified supplier otherwise.default BiFunction<U, T, R> BiFunction.reverse()Returns a function that processes this function with reversed parameter order.default BiFunction<T, U, R> BiFunction.withDefault(Predicate<T> predicate1, Supplier<T> defaultValue1, Predicate<U> predicate2, Supplier<U> defaultValue2) Returns a function that applies this function to the values returned by the specified providers if its parameters do not match the specified predicates.Methods in org.wildfly.clustering.function with parameters of type BiFunctionModifier and TypeMethodDescriptiondefault <V1,V2> BiConsumer <V1, V2> Consumer.compose(BiFunction<V1, V2, T> mapper) Composes a binary consumer that invokes this consumer using result of the specified binary function.default <V1,V2> BiFunction <V1, V2, R> Function.compose(BiFunction<V1, V2, T> mapper) Composes a binary function that invokes this function using result of the specified binary function.default <V1,V2> BiPredicate <V1, V2> Predicate.compose(BiFunction<V1, V2, T> mapper) Composes a predicate that applies the specified mapping to its argument before evaluating.