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_IDENTITYstatic final BinaryOperator<?> BinaryOperator.LATTER_IDENTITYstatic final BinaryOperator<?> BinaryOperator.NULLMethods in org.wildfly.clustering.function that return BinaryOperatorModifier and TypeMethodDescriptiondefault BinaryOperator<T> BinaryOperator.andThen(UnaryOperator<T> after) static <T> BinaryOperator<T> BinaryOperator.apply(BiFunction<? super T, ? super T, T> function) Returns an operator view of the specified binary function.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> Returns a function that returns the value returned by the specified supplier, ignoring its parameter.static <T> BinaryOperator<T> BinaryOperator.latter()Returns a function that returns its second parameter.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.