Uses of Interface
org.wildfly.clustering.function.UnaryOperator
Packages that use UnaryOperator
-
Uses of UnaryOperator in org.wildfly.clustering.function
Fields in org.wildfly.clustering.function declared as UnaryOperatorModifier and TypeFieldDescriptionstatic final UnaryOperator<?> UnaryOperator.IDENTITYAn identity operator that always returns its parameterstatic final UnaryOperator<?> UnaryOperator.NULLAn operator that always returns nullMethods in org.wildfly.clustering.function that return UnaryOperatorModifier and TypeMethodDescriptiondefault UnaryOperator<T> UnaryOperator.andThen(UnaryOperator<T> operator) Returns an operator that applies the specified operator to the result of this operator.static <T> UnaryOperator<T> Returns an operator view of the specified function.default UnaryOperator<T> UnaryOperator.compose(UnaryOperator<T> operator) Returns an operator that applies this operator to the result of the specified operator.default UnaryOperator<T> BinaryOperator.composeUnary(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> UnaryOperator<T> UnaryOperator.empty()Returns an operator that always returns null, ignoring its parameter.static <K,V> UnaryOperator <Map.Entry<K, V>> UnaryOperator.entry(UnaryOperator<K> keyFunction, UnaryOperator<V> valueFunction) Returns aMap.Entryfunction from the specified key and value functions.default UnaryOperator<T> UnaryOperator.handle(BiFunction<T, RuntimeException, T> handler) Returns a new operator that delegates to this operator using the specified exception handler.static <T> UnaryOperator<T> UnaryOperator.identity()Returns an operator that returns its value.static <T> UnaryOperator<T> Returns an operator that accepts its parameter via the specified consumer and returns the value returned by the specified supplier.static <T> UnaryOperator<T> UnaryOperator.of(T value) Returns an operator that always returns the specified value, ignoring its parameter.default UnaryOperator<T> Returns an operator that applies this function to the value returned by the specified provider if its value does not match the specified predicate.default UnaryOperator<T> UnaryOperator.withDefault(Predicate<T> predicate, Supplier<T> defaultValue) Returns an operator that applies this function if its parameter matches the specified predicate, or returns the value provided by the specified supplier otherwise.Methods in org.wildfly.clustering.function with parameters of type UnaryOperatorModifier and TypeMethodDescriptionstatic <K,V> UnaryOperator <Map.Entry<K, V>> UnaryOperator.entry(UnaryOperator<K> keyFunction, UnaryOperator<V> valueFunction) Returns aMap.Entryfunction from the specified key and value functions. -
Uses of UnaryOperator in org.wildfly.clustering.server.util
Methods in org.wildfly.clustering.server.util with parameters of type UnaryOperatorModifier and TypeMethodDescriptionBlockingReference.writer(UnaryOperator<T> updater) Returns a thread-safe writer of this reference.