Index
All Classes and Interfaces|All Packages
A
- accept(E) - Method in class org.wildfly.clustering.function.Consumer.ExceptionLogger
- accept(Consumer<? super T>, Supplier<? extends T>) - Static method in interface org.wildfly.clustering.function.Runnable
-
Returns a task that consumes a value from the specified supplier.
- acceptAll(Iterable<? extends BiConsumer<? super T, ? super U>>) - Static method in interface org.wildfly.clustering.function.BiConsumer
-
Returns a composite consumer that delegates to zero or more consumers.
- acceptAll(Iterable<? extends Consumer<? super V>>) - Static method in interface org.wildfly.clustering.function.Consumer
-
Returns a composite consumer that delegates to zero or more consumers.
- always() - Static method in interface org.wildfly.clustering.function.BiPredicate
-
Returns a predicate that always accepts its arguments.
- always() - Static method in interface org.wildfly.clustering.function.Predicate
-
Returns a predicate that always accepts its argument.
- ALWAYS - Static variable in interface org.wildfly.clustering.function.BiPredicate
- ALWAYS - Static variable in interface org.wildfly.clustering.function.DoublePredicate
- ALWAYS - Static variable in interface org.wildfly.clustering.function.IntPredicate
- ALWAYS - Static variable in interface org.wildfly.clustering.function.LongPredicate
- ALWAYS - Static variable in interface org.wildfly.clustering.function.Predicate
- and(BiPredicate<? super T, ? super U>) - Method in interface org.wildfly.clustering.function.BiPredicate
- and(DoublePredicate) - Method in interface org.wildfly.clustering.function.DoublePredicate
- and(IntPredicate) - Method in interface org.wildfly.clustering.function.IntPredicate
- and(LongPredicate) - Method in interface org.wildfly.clustering.function.LongPredicate
- and(Predicate<? super T>) - Method in interface org.wildfly.clustering.function.Predicate
- and(Predicate<T>, Predicate<U>) - Static method in interface org.wildfly.clustering.function.BiPredicate
-
Returns a binary predicate composed using the conjunction of two unary predicates.
- andThen(Runnable) - Method in interface org.wildfly.clustering.function.Runnable
-
Returns a task that runs the specified task after running this task.
- andThen(BiConsumer<? super T, ? super U>) - Method in interface org.wildfly.clustering.function.BiConsumer
- andThen(Consumer<? super T>) - Method in interface org.wildfly.clustering.function.Consumer
- andThen(Function<? super R, ? extends V>) - Method in interface org.wildfly.clustering.function.BiFunction
- andThen(Function<? super R, ? extends V>) - Method in interface org.wildfly.clustering.function.Function
- andThen(UnaryOperator<T>) - Method in interface org.wildfly.clustering.function.BinaryOperator
- andThen(UnaryOperator<T>) - Method in interface org.wildfly.clustering.function.UnaryOperator
-
Returns an operator that applies the specified operator to the result of this operator.
- apply(BiFunction<? super T, ? super T, T>) - Static method in interface org.wildfly.clustering.function.BinaryOperator
-
Returns an operator view of the specified binary function.
- apply(Function<? super T, T>) - Static method in interface org.wildfly.clustering.function.UnaryOperator
-
Returns an operator view of the specified function.
B
- BiConsumer<T,
U> - Interface in org.wildfly.clustering.function -
An enhanced binary consumer.
- BiFunction<T,
U, - Interface in org.wildfly.clustering.functionR> -
An enhanced binary function.
- BinaryOperator<T> - Interface in org.wildfly.clustering.function
-
An enhanced binary function.
- BiPredicate<T,
U> - Interface in org.wildfly.clustering.function -
An enhanced binary predicate.
- BiPredicate.SimpleBiPredicate<T,
U> - Class in org.wildfly.clustering.function - BooleanSupplier - Interface in org.wildfly.clustering.function
-
An enhanced boolean supplier.
C
- call(Callable<T>, Function<Exception, T>) - Static method in interface org.wildfly.clustering.function.Supplier
-
Returns a supplier that delegates to the specified caller using the specified exception handler.
- Callable<T> - Interface in org.wildfly.clustering.function
-
An enhanced callable.
- close() - Static method in interface org.wildfly.clustering.function.Consumer
-
Returns a consumer that silently closes its object.
- close(Consumer<Exception>) - Static method in interface org.wildfly.clustering.function.Consumer
-
Returns a consumer that silently closes its object using the specified exception handler.
- compose(DoubleFunction<T>) - Method in interface org.wildfly.clustering.function.Predicate
-
Returns a predicate that applies the specified mapping to its argument before evaluating.
- compose(Function<? super V, ? extends T>) - Method in interface org.wildfly.clustering.function.Function
- compose(Function<? super V1, ? extends T>, Function<? super V2, ? extends U>) - Method in interface org.wildfly.clustering.function.BiFunction
-
Returns a composed function that applies the specified functions to each parameter as inputs to this function.
- compose(Function<V, T>) - Method in interface org.wildfly.clustering.function.Consumer
-
Returns a mapped consumer, that invokes this consumer using result of the specified function.
- compose(Function<V, T>) - Method in interface org.wildfly.clustering.function.Predicate
-
Returns a predicate that applies the specified mapping to its argument before evaluating.
- compose(IntFunction<T>) - Method in interface org.wildfly.clustering.function.Predicate
-
Returns a predicate that applies the specified mapping to its argument before evaluating.
- compose(LongFunction<T>) - Method in interface org.wildfly.clustering.function.Predicate
-
Returns a predicate that applies the specified mapping to its argument before evaluating.
- compose(UnaryOperator<T>) - Method in interface org.wildfly.clustering.function.UnaryOperator
-
Returns an operator that applies this operator to the result of the specified operator.
- compose(UnaryOperator<T>, UnaryOperator<T>) - Method in interface org.wildfly.clustering.function.BinaryOperator
-
Returns a composed operator that applies the specified operators to each parameter as inputs to this operator.
- compose(Function<V1, T>, Function<V2, U>) - Method in interface org.wildfly.clustering.function.BiConsumer
-
Composes a consumer this consumer using result of the specified mapping functions.
- Consumer<T> - Interface in org.wildfly.clustering.function
-
An enhanced unary consumer.
- Consumer.ExceptionLogger<E> - Class in org.wildfly.clustering.function
D
- debug() - Static method in interface org.wildfly.clustering.function.Consumer
-
Returns a consumer that logs an exception at the
System.Logger.Level.DEBUGlevel. - DoublePredicate - Interface in org.wildfly.clustering.function
-
An enhanced double predicate.
- DoublePredicate.SimpleDoublePredicate - Class in org.wildfly.clustering.function
E
- empty() - Static method in interface org.wildfly.clustering.function.BiConsumer
-
Returns a consumer that performs no action.
- empty() - Static method in interface org.wildfly.clustering.function.BiFunction
-
Returns a function that always returns the specified value, ignoring its parameters.
- empty() - Static method in interface org.wildfly.clustering.function.BinaryOperator
-
Returns a function that always returns null, ignoring its parameter.
- empty() - Static method in interface org.wildfly.clustering.function.Callable
-
Returns a callable that returns null.
- empty() - Static method in interface org.wildfly.clustering.function.Consumer
-
Returns a consumer that performs no action.
- empty() - Static method in interface org.wildfly.clustering.function.Function
-
Returns a function that returns its parameter.
- empty() - Static method in interface org.wildfly.clustering.function.Runnable
-
Returns an empty task.
- empty() - Static method in interface org.wildfly.clustering.function.Supplier
-
Returns a supplier that always returns the specified value.
- empty() - Static method in interface org.wildfly.clustering.function.UnaryOperator
-
Returns an operator that always returns null, ignoring its parameter.
- EMPTY - Static variable in interface org.wildfly.clustering.function.BiConsumer
- EMPTY - Static variable in interface org.wildfly.clustering.function.Consumer
- EMPTY - Static variable in interface org.wildfly.clustering.function.Runnable
- equal(T) - Static method in interface org.wildfly.clustering.function.Predicate
-
Returns a predicate that evaluates to true if and only if the argument is equals to the specified object.
- error() - Static method in interface org.wildfly.clustering.function.Consumer
-
Returns a consumer that logs an exception at the
System.Logger.Level.ERRORlevel. - EXCEPTION_LOGGER - Static variable in interface org.wildfly.clustering.function.Consumer
- EXCEPTION_LOGGERS - Static variable in interface org.wildfly.clustering.function.Consumer
- exceptional(Supplier<? extends Exception>) - Static method in interface org.wildfly.clustering.function.Callable
-
Returns a callable that throws the provided exception.
F
- FALSE - Static variable in interface org.wildfly.clustering.function.BooleanSupplier
- former() - Static method in interface org.wildfly.clustering.function.BiFunction
-
Returns a function that returns its first parameter.
- former() - Static method in interface org.wildfly.clustering.function.BinaryOperator
-
Returns a function that returns its first parameter.
- former(Consumer<? super T>) - Static method in interface org.wildfly.clustering.function.BiConsumer
-
Returns a consumer that delegates to a consumer of the first parameter, ignoring the second.
- former(Function<T, R>) - Static method in interface org.wildfly.clustering.function.BiFunction
-
Returns a function that returns the result of applying the specified function to its first parameter.
- former(Predicate<T>) - Static method in interface org.wildfly.clustering.function.BiPredicate
-
Returns a binary predicate from a predicate that tests the first parameter only.
- FORMER_IDENTITY - Static variable in interface org.wildfly.clustering.function.BiFunction
- FORMER_IDENTITY - Static variable in interface org.wildfly.clustering.function.BinaryOperator
- Function<T,
R> - Interface in org.wildfly.clustering.function -
An enhanced function.
G
- get(Supplier<R>) - Static method in interface org.wildfly.clustering.function.BiFunction
-
Returns a function that returns the value returned by the specified supplier, ignoring its parameter.
- get(Supplier<R>) - Static method in interface org.wildfly.clustering.function.Function
-
Returns a function that returns the value returned by the specified supplier, ignoring its parameter.
- get(Supplier<T>) - Static method in interface org.wildfly.clustering.function.BinaryOperator
-
Returns a function that returns the value returned by the specified supplier, ignoring its parameter.
- get(Supplier<T>) - Static method in interface org.wildfly.clustering.function.UnaryOperator
-
Returns an operator that returns the result of the specified supplier, ignoring its parameter.
- get(Supplier<T>) - Static method in interface org.wildfly.clustering.function.Callable
-
Returns a callable that delegates to the specified supplier.
H
- handle(BiConsumer<T, RuntimeException>) - Method in interface org.wildfly.clustering.function.Consumer
-
Returns a new consumer that delegates to the specified handler in the event of an exception.
- handle(BiFunction<T, RuntimeException, R>) - Method in interface org.wildfly.clustering.function.Function
-
Returns a new function that delegates to this function using the specified exception handler.
- handle(BiFunction<T, RuntimeException, T>) - Method in interface org.wildfly.clustering.function.UnaryOperator
-
Returns a new operator that delegates to this operator using the specified exception handler.
- handle(BiPredicate<T, RuntimeException>) - Method in interface org.wildfly.clustering.function.Predicate
-
Returns a new predicate that delegates to this predicate using the specified exception handler.
- handle(Consumer<RuntimeException>) - Method in interface org.wildfly.clustering.function.BiConsumer
-
Returns a new consumer that delegates to the specified handler in the event of an exception.
- handle(Function<RuntimeException, T>) - Method in interface org.wildfly.clustering.function.Supplier
-
Returns a new supplier that delegates to this supplier using the specified exception handler.
- handle(Predicate<RuntimeException>) - Method in interface org.wildfly.clustering.function.BooleanSupplier
-
Returns a new supplier that delegates to this supplier using the specified exception handler.
- handle(Consumer<RuntimeException>) - Method in interface org.wildfly.clustering.function.Runnable
-
Returns a new runnable that delegates to the specified handler in the event of an exception.
I
- identity() - Static method in interface org.wildfly.clustering.function.Function
-
Returns a function that returns its parameter.
- identity() - Static method in interface org.wildfly.clustering.function.UnaryOperator
-
Returns an operator that returns its value.
- IDENTITY - Static variable in interface org.wildfly.clustering.function.Function
- IDENTITY - Static variable in interface org.wildfly.clustering.function.UnaryOperator
- info() - Static method in interface org.wildfly.clustering.function.Consumer
-
Returns a consumer that logs an exception at the
System.Logger.Level.INFOlevel. - IntPredicate - Interface in org.wildfly.clustering.function
-
An enhanced integer predicate.
- IntPredicate.SimpleIntPredicate - Class in org.wildfly.clustering.function
L
- latter() - Static method in interface org.wildfly.clustering.function.BiFunction
-
Returns a function that returns its second parameter.
- latter() - Static method in interface org.wildfly.clustering.function.BinaryOperator
-
Returns a function that returns its second parameter.
- latter(Consumer<? super U>) - Static method in interface org.wildfly.clustering.function.BiConsumer
-
Returns a consumer that delegates to a consumer of the second parameter, ignoring the first.
- latter(Function<U, R>) - Static method in interface org.wildfly.clustering.function.BiFunction
-
Returns a function that returns the result of applying the specified function to its second parameter.
- latter(Predicate<U>) - Static method in interface org.wildfly.clustering.function.BiPredicate
-
Returns a binary predicate from a predicate that tests the second parameter only.
- LATTER_IDENTITY - Static variable in interface org.wildfly.clustering.function.BiFunction
- LATTER_IDENTITY - Static variable in interface org.wildfly.clustering.function.BinaryOperator
- log(System.Logger.Level) - Static method in interface org.wildfly.clustering.function.Consumer
-
Returns a consumer that logs an exception at the specified level.
- LongPredicate - Interface in org.wildfly.clustering.function
-
An enhanced long predicate.
- LongPredicate.SimpleLongPredicate - Class in org.wildfly.clustering.function
M
- map(DoubleUnaryOperator) - Method in interface org.wildfly.clustering.function.DoublePredicate
-
Returns a predicate that applies the specified mapping to its argument before evaluating.
- map(Function<T, V>) - Method in interface org.wildfly.clustering.function.Supplier
-
Returns a supplier that returns the value this function mapped via the specified function.
- map(IntUnaryOperator) - Method in interface org.wildfly.clustering.function.IntPredicate
-
Returns a predicate that applies the specified mapping to its argument before evaluating.
- map(LongUnaryOperator) - Method in interface org.wildfly.clustering.function.LongPredicate
-
Returns a predicate that applies the specified mapping to its argument before evaluating.
- map(ToDoubleFunction<V>) - Method in interface org.wildfly.clustering.function.DoublePredicate
-
Returns a predicate that applies the specified mapping to its argument before evaluating.
- map(ToIntFunction<V>) - Method in interface org.wildfly.clustering.function.IntPredicate
-
Returns a predicate that applies the specified mapping to its argument before evaluating.
- map(ToLongFunction<V>) - Method in interface org.wildfly.clustering.function.LongPredicate
-
Returns a predicate that applies the specified mapping to its argument before evaluating.
- map(Function<T, R>) - Method in interface org.wildfly.clustering.function.Callable
-
Returns a callable whose result is mapped by the specified function.
N
- negate() - Method in interface org.wildfly.clustering.function.BiPredicate
- negate() - Method in interface org.wildfly.clustering.function.DoublePredicate
- negate() - Method in interface org.wildfly.clustering.function.IntPredicate
- negate() - Method in interface org.wildfly.clustering.function.LongPredicate
- negate() - Method in interface org.wildfly.clustering.function.Predicate
- NEGATIVE - Static variable in interface org.wildfly.clustering.function.DoublePredicate
- NEGATIVE - Static variable in interface org.wildfly.clustering.function.IntPredicate
- NEGATIVE - Static variable in interface org.wildfly.clustering.function.LongPredicate
- never() - Static method in interface org.wildfly.clustering.function.BiPredicate
-
Returns a predicate that never accepts its arguments.
- never() - Static method in interface org.wildfly.clustering.function.Predicate
-
Returns a predicate that never accepts its argument.
- NEVER - Static variable in interface org.wildfly.clustering.function.BiPredicate
- NEVER - Static variable in interface org.wildfly.clustering.function.DoublePredicate
- NEVER - Static variable in interface org.wildfly.clustering.function.IntPredicate
- NEVER - Static variable in interface org.wildfly.clustering.function.LongPredicate
- NEVER - Static variable in interface org.wildfly.clustering.function.Predicate
- not(Predicate<? super T>) - Static method in interface org.wildfly.clustering.function.Predicate
-
Returns a predicate that evaluates to the negation of the specified predicate.
- NULL - Static variable in interface org.wildfly.clustering.function.BiFunction
- NULL - Static variable in interface org.wildfly.clustering.function.BinaryOperator
- NULL - Static variable in interface org.wildfly.clustering.function.Callable
- NULL - Static variable in interface org.wildfly.clustering.function.Function
- NULL - Static variable in interface org.wildfly.clustering.function.Supplier
- NULL - Static variable in interface org.wildfly.clustering.function.UnaryOperator
O
- of(boolean) - Static method in interface org.wildfly.clustering.function.BooleanSupplier
-
Returns a supplier that always returns the specified value.
- of(boolean) - Static method in interface org.wildfly.clustering.function.Predicate
-
Returns a predicate that always evaluates to the specified result.
- of(E) - Static method in interface org.wildfly.clustering.function.RuntimeExceptionSupplier
-
Returns a supplier that always returns the specified exception.
- of(Consumer<? super T>, Consumer<? super U>) - Static method in interface org.wildfly.clustering.function.BiConsumer
-
Returns a composite consumer that delegates to a consumer per parameter.
- of(BiPredicate<T, U>, Supplier<T>, Supplier<U>) - Static method in interface org.wildfly.clustering.function.BooleanSupplier
-
Returns a boolean supplier that evaluates a predicate against a supplied value.
- of(Predicate<T>, Supplier<T>) - Static method in interface org.wildfly.clustering.function.BooleanSupplier
-
Returns a boolean supplier that evaluates a predicate against a supplied value.
- of(R) - Static method in interface org.wildfly.clustering.function.BiFunction
-
Returns a function that always returns the specified value, ignoring its parameter.
- of(R) - Static method in interface org.wildfly.clustering.function.Function
-
Returns a function that always returns the specified value, ignoring its parameter.
- of(T) - Static method in interface org.wildfly.clustering.function.BinaryOperator
-
Returns a function that always returns the specified value, ignoring its parameter.
- of(T) - Static method in interface org.wildfly.clustering.function.Callable
-
Returns a callable that returns the specified value.
- of(T) - Static method in interface org.wildfly.clustering.function.Supplier
-
Returns a supplier that always returns the specified value.
- of(T) - Static method in interface org.wildfly.clustering.function.UnaryOperator
-
Returns an operator that always returns the specified value, ignoring its parameter.
- or(BiPredicate<? super T, ? super U>) - Method in interface org.wildfly.clustering.function.BiPredicate
- or(DoublePredicate) - Method in interface org.wildfly.clustering.function.DoublePredicate
- or(IntPredicate) - Method in interface org.wildfly.clustering.function.IntPredicate
- or(LongPredicate) - Method in interface org.wildfly.clustering.function.LongPredicate
- or(Predicate<? super T>) - Method in interface org.wildfly.clustering.function.Predicate
- or(Predicate<T>, Predicate<U>) - Static method in interface org.wildfly.clustering.function.BiPredicate
-
Returns a binary predicate composed using the disjunction of two unary predicates.
- orDefault(BiPredicate<T, T>, Supplier<T>) - Method in interface org.wildfly.clustering.function.BinaryOperator
-
Returns a function that applies this function if its parameters matches the specified predicate, or returns the value provided by the specified supplier otherwise.
- orDefault(BiPredicate<T, U>, Supplier<R>) - Method in interface org.wildfly.clustering.function.BiFunction
-
Returns a function that applies this function if its parameters matches the specified predicate, or returns the value provided by the specified supplier otherwise.
- orDefault(Predicate<T>, Supplier<R>) - Method in interface org.wildfly.clustering.function.Function
-
Returns a function that applies this function if its parameter matches the specified predicate, or returns the value provided by the specified supplier otherwise.
- orDefault(Predicate<T>, Supplier<T>) - Method in interface org.wildfly.clustering.function.UnaryOperator
-
Returns an operator that applies this function to the value returned by the specified provider if its value does not match the specified predicate.
- org.wildfly.clustering.function - package org.wildfly.clustering.function
P
- POSITIVE - Static variable in interface org.wildfly.clustering.function.DoublePredicate
- POSITIVE - Static variable in interface org.wildfly.clustering.function.IntPredicate
- POSITIVE - Static variable in interface org.wildfly.clustering.function.LongPredicate
- Predicate<T> - Interface in org.wildfly.clustering.function
-
An enhanced predicate.
- Predicate.SimplePredicate<T> - Class in org.wildfly.clustering.function
R
- reverse() - Method in interface org.wildfly.clustering.function.BiConsumer
-
Returns a consumer that processes this consumer with reversed parameter order.
- reverse() - Method in interface org.wildfly.clustering.function.BiFunction
-
Returns a function that processes this function with reversed parameter order.
- reverse() - Method in interface org.wildfly.clustering.function.BinaryOperator
-
Returns a function that processes this function with reversed parameter order.
- reverse() - Method in interface org.wildfly.clustering.function.BiPredicate
-
Returns a predicate that processes this predicate with reversed parameter order.
- run(Runnable) - Static method in interface org.wildfly.clustering.function.Consumer
-
Returns a consumer that runs the specified task, ignoring its parameter.
- run(Runnable) - Static method in interface org.wildfly.clustering.function.Supplier
-
Returns a supplier that returns null after invoking the specified task.
- run(Runnable) - Static method in interface org.wildfly.clustering.function.Callable
-
Returns a callable that runs the specified runner and returns
null. - runAll(Iterable<? extends Runnable>) - Static method in interface org.wildfly.clustering.function.Runnable
-
Returns a composite runner that runs the specified runners.
- Runnable - Interface in org.wildfly.clustering.function
-
An enhanced runnable.
- RuntimeExceptionSupplier<E> - Interface in org.wildfly.clustering.function
-
Supplies a runtime exception.
S
- same(T) - Static method in interface org.wildfly.clustering.function.Predicate
-
Returns a predicate that evaluates to true if and only if the argument references the specified object.
- SILENT_CLOSERS - Static variable in interface org.wildfly.clustering.function.Consumer
- Supplier<T> - Interface in org.wildfly.clustering.function
-
An enhanced supplier.
T
- test(double) - Method in class org.wildfly.clustering.function.DoublePredicate.SimpleDoublePredicate
- test(int) - Method in class org.wildfly.clustering.function.IntPredicate.SimpleIntPredicate
- test(long) - Method in class org.wildfly.clustering.function.LongPredicate.SimpleLongPredicate
- test(T) - Method in class org.wildfly.clustering.function.Predicate.SimplePredicate
- test(T, U) - Method in class org.wildfly.clustering.function.BiPredicate.SimpleBiPredicate
- thenThrow() - Method in interface org.wildfly.clustering.function.RuntimeExceptionSupplier
-
Returns a supplier of an arbitrary type that throws the supplied exception.
- TRUE - Static variable in interface org.wildfly.clustering.function.BooleanSupplier
U
- UnaryOperator<T> - Interface in org.wildfly.clustering.function
-
An enhanced unary operator.
W
- warning() - Static method in interface org.wildfly.clustering.function.Consumer
-
Returns a consumer that logs an exception at the
System.Logger.Level.WARNINGlevel. - withDefault(Predicate<T>, Supplier<T>) - Method in interface org.wildfly.clustering.function.Function
-
Returns a function that applies this function to the value returned by the specified provider if its value does not match the specified predicate.
- withDefault(Predicate<T>, Supplier<T>) - Method in interface org.wildfly.clustering.function.UnaryOperator
-
Returns an operator that applies this function if its parameter matches the specified predicate, or returns the value provided by the specified supplier otherwise.
- withDefault(Predicate<T>, Supplier<T>, Predicate<T>, Supplier<T>) - Method in interface org.wildfly.clustering.function.BinaryOperator
-
Returns a function that applies this function to the values returned by the specified providers if its parameters do not match the specified predicates.
- withDefault(Predicate<T>, Supplier<T>, Predicate<U>, Supplier<U>) - Method in interface org.wildfly.clustering.function.BiFunction
-
Returns a function that applies this function to the values returned by the specified providers if its parameters do not match the specified predicates.
Z
- ZERO - Static variable in interface org.wildfly.clustering.function.DoublePredicate
- ZERO - Static variable in interface org.wildfly.clustering.function.IntPredicate
- ZERO - Static variable in interface org.wildfly.clustering.function.LongPredicate
All Classes and Interfaces|All Packages