Index
All Classes and Interfaces|All Packages
A
- accept(E) - Method in class pl.matsuo.core.util.function.FunctionalUtil.AccessProvider
- accept(E) - Method in interface pl.matsuo.core.util.function.ThrowingExceptionsConsumer
- access(Object, Field) - Static method in class pl.matsuo.core.util.function.FunctionalUtil
-
Create access provider from field on object.
- access(Supplier<E>, Consumer<E>) - Static method in class pl.matsuo.core.util.function.FunctionalUtil
-
Create access provider from getter/setter pair.
- apply(D, E) - Method in interface pl.matsuo.core.util.function.ThrowingExceptionsBiFunction
- apply(E) - Method in interface pl.matsuo.core.util.function.ThrowingExceptionsFunction
C
- collectList(Supplier<Boolean>, Supplier<E>) - Static method in class pl.matsuo.core.util.function.FunctionalUtil
-
Collect elements returned by getter until condition is true;
- compose(Consumer<? super E>...) - Static method in class pl.matsuo.core.util.function.FunctionalUtil
-
Create consumer that invokes list of inner consumers.
E
- either(boolean, Supplier<E>, Supplier<E>) - Static method in class pl.matsuo.core.util.function.FunctionalUtil
-
Invoke ifTrue or ifFalse depending on what parameter.
F
- Failure<E> - Class in pl.matsuo.core.util.function
- Failure() - Constructor for class pl.matsuo.core.util.function.Failure
- FunctionalUtil - Class in pl.matsuo.core.util.function
-
Functional programming utils.
- FunctionalUtil() - Constructor for class pl.matsuo.core.util.function.FunctionalUtil
- FunctionalUtil.AccessProvider<E> - Class in pl.matsuo.core.util.function
-
Objects provide access to some element.
G
- get() - Method in class pl.matsuo.core.util.function.Failure
- get() - Method in class pl.matsuo.core.util.function.FunctionalUtil.AccessProvider
- get() - Method in class pl.matsuo.core.util.function.Success
- get() - Method in interface pl.matsuo.core.util.function.ThrowingExceptionsSupplier
- get() - Method in interface pl.matsuo.core.util.function.Try
I
- ifFailure(Supplier<Try<E>>) - Method in class pl.matsuo.core.util.function.Failure
- ifFailure(Supplier<Try<E>>) - Method in class pl.matsuo.core.util.function.Success
- ifFailure(Supplier<Try<E>>) - Method in interface pl.matsuo.core.util.function.Try
- ignoreEx(ThrowingExceptionsRunnable) - Static method in class pl.matsuo.core.util.function.FunctionalUtil
-
Invoke runnable and ignore exceptions.
- ignoreEx(ThrowingExceptionsSupplier<E>) - Static method in class pl.matsuo.core.util.function.FunctionalUtil
-
Invoke supplier and return null on exception.
- ignoringExConsumer - Static variable in class pl.matsuo.core.util.function.FunctionalUtil
-
Consumer of exception that logs error.
- invoke(Consumer<E>) - Method in class pl.matsuo.core.util.function.FunctionalUtil.AccessProvider
- isFailure() - Method in class pl.matsuo.core.util.function.Failure
- isFailure() - Method in interface pl.matsuo.core.util.function.Try
- isSuccess() - Method in class pl.matsuo.core.util.function.Success
- isSuccess() - Method in interface pl.matsuo.core.util.function.Try
L
P
- pl.matsuo.core.util.function - package pl.matsuo.core.util.function
- processEx(ThrowingExceptionsRunnable, Consumer<Exception>) - Static method in class pl.matsuo.core.util.function.FunctionalUtil
-
Invoke runnable with exception handler.
- processEx(ThrowingExceptionsSupplier<E>, Function<Exception, E>) - Static method in class pl.matsuo.core.util.function.FunctionalUtil
-
Invoke supplier with exception handler.
R
- repeat(Supplier<Boolean>, Runnable) - Static method in class pl.matsuo.core.util.function.FunctionalUtil
-
Repeat runnable invocations until condition is true.
- right - Variable in class pl.matsuo.core.util.function.Tuple
- run() - Method in interface pl.matsuo.core.util.function.ThrowingExceptionsRunnable
- runtimeEx(ThrowingExceptionsRunnable) - Static method in class pl.matsuo.core.util.function.FunctionalUtil
-
Invoke runnable and throw RuntimeException on exception.
- runtimeEx(ThrowingExceptionsRunnable, Consumer<Exception>) - Static method in class pl.matsuo.core.util.function.FunctionalUtil
-
Invoke runnable with exception handler.
- runtimeEx(ThrowingExceptionsSupplier<E>) - Static method in class pl.matsuo.core.util.function.FunctionalUtil
-
Invoke supplier and throw RuntimeException on exception.
- runtimeExConsumer - Static variable in class pl.matsuo.core.util.function.FunctionalUtil
-
Consumer that throws RuntimeException with passed exception as root cause.
S
- setIfNull(Supplier<? extends E>) - Method in class pl.matsuo.core.util.function.FunctionalUtil.AccessProvider
- setIfNull(Supplier<? extends E>, Consumer<? super E>) - Method in class pl.matsuo.core.util.function.FunctionalUtil.AccessProvider
- Success<E> - Class in pl.matsuo.core.util.function
- Success(E) - Constructor for class pl.matsuo.core.util.function.Success
T
- ThrowingExceptionsBiFunction<D,
E, F> - Interface in pl.matsuo.core.util.function - ThrowingExceptionsConsumer<E> - Interface in pl.matsuo.core.util.function
- ThrowingExceptionsFunction<E,
F> - Interface in pl.matsuo.core.util.function - ThrowingExceptionsRunnable - Interface in pl.matsuo.core.util.function
- ThrowingExceptionsSupplier<E> - Interface in pl.matsuo.core.util.function
- transform(E, Function<E, F>) - Static method in class pl.matsuo.core.util.function.FunctionalUtil
-
Return function invocation result with object as parameter.
- Try<E> - Interface in pl.matsuo.core.util.function
- tuple(A, B) - Static method in class pl.matsuo.core.util.function.Tuple
- Tuple<A,
B> - Class in pl.matsuo.core.util.function - Tuple(A, B) - Constructor for class pl.matsuo.core.util.function.Tuple
W
- with(E, F, BiConsumer<E, F>) - Static method in class pl.matsuo.core.util.function.FunctionalUtil
-
Invoke consumer with two objects as parameters.
- with(E, Consumer<E>) - Static method in class pl.matsuo.core.util.function.FunctionalUtil
-
Invoke consumer with object as parameter.
All Classes and Interfaces|All Packages