Uses of Interface
org.wildfly.clustering.function.BinaryOperator
Packages that use BinaryOperator
-
Uses of BinaryOperator in org.wildfly.clustering.function
Fields in org.wildfly.clustering.function declared as BinaryOperatorModifier and TypeFieldDescriptionstatic final BinaryOperator<?> BinaryOperator.FORMER_IDENTITYAn identity function using the former parameterstatic final BinaryOperator<?> BinaryOperator.LATTER_IDENTITYAn identity function using the latter parameterstatic final BinaryOperator<?> BinaryOperator.NULLAn operator that always returns null.Methods in org.wildfly.clustering.function that return BinaryOperatorModifier and TypeMethodDescriptiondefault BinaryOperator<T> BinaryOperator.andThen(UnaryOperator<T> after) An operator variant ofBiFunction.andThen(java.util.function.Function).static <T> BinaryOperator<T> BinaryOperator.apply(BiFunction<? super T, ? super T, T> function) Returns an operator view of the specified binary function.static <T> BinaryOperator<T> BinaryOperator.applyFormer(UnaryOperator<T> operator) Returns an operator that applies the former parameter to the specified operator.static <T> BinaryOperator<T> BinaryOperator.applyLatter(UnaryOperator<T> operator) Returns an operator that applies the latter parameter to the specified operator.default BinaryOperator<T> BinaryOperator.compose(UnaryOperator<T> before1, UnaryOperator<T> before2) Returns a composed operator that applies the specified operators to each parameter as inputs to this operator.static <T> BinaryOperator<T> BinaryOperator.empty()Returns a function that always returns null, ignoring its parameter.static <T> BinaryOperator<T> BinaryOperator.former()Returns a function that returns its first parameter.static <T> BinaryOperator<T> BinaryOperator.latter()Returns a function that returns its second parameter.static <T> BinaryOperator<T> BinaryOperator.of(BiConsumer<T, T> consumer, Supplier<T> supplier) Returns an operator that accepts its parameters via the specified consumer and returns the value returned by the specified supplier.static <T> BinaryOperator<T> BinaryOperator.of(T result) Returns a function that always returns the specified value, ignoring its parameter.default BinaryOperator<T> 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 BinaryOperator<T> BinaryOperator.reverse()Returns a function that processes this function with reversed parameter order.default BinaryOperator<T> BinaryOperator.withDefault(Predicate<T> predicate1, Supplier<T> defaultValue1, Predicate<T> predicate2, Supplier<T> 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.