| Package | Description |
|---|---|
| net.digitalid.utility.functional.failable |
Provides failable interfaces for functional programming.
|
| net.digitalid.utility.functional.interfaces |
Provides interfaces for functional programming.
|
| Modifier and Type | Method and Description |
|---|---|
default @Nonnull BinaryOperator<TYPE> |
FailableBinaryOperator.suppressExceptions() |
default @Nonnull BinaryOperator<TYPE> |
FailableBinaryOperator.suppressExceptions(@Nonnull Consumer<? super Exception> handler) |
default @Nonnull BinaryOperator<TYPE> |
FailableBinaryOperator.suppressExceptions(@Nonnull Consumer<? super Exception> handler,
TYPE defaultOutput) |
default @Nonnull BinaryOperator<TYPE> |
FailableBinaryOperator.suppressExceptions(TYPE defaultOutput) |
| Modifier and Type | Method and Description |
|---|---|
default @Nonnull BinaryOperator<TYPE> |
BinaryOperator.after(@Nonnull UnaryOperator<TYPE> operator0,
@Nonnull UnaryOperator<TYPE> operator1)
Returns the composition of the given operators followed by this operator.
|
default @Nonnull BinaryOperator<TYPE> |
BinaryOperator.before(@Nonnull UnaryOperator<TYPE> operator)
Returns the composition of this operator followed by the given operator.
|
static <TYPE> @Nonnull BinaryOperator<TYPE> |
BinaryOperator.constant(TYPE output)
Returns a binary function that always returns the given output.
|
static <TYPE> @Nonnull BinaryOperator<TYPE> |
BinaryOperator.max(@Nonnull Comparator<? super TYPE> comparator)
Returns a binary operator which returns the greater of two objects according to the given comparator.
|
static <TYPE> @Nonnull BinaryOperator<TYPE> |
BinaryOperator.min(@Nonnull Comparator<? super TYPE> comparator)
Returns a binary operator which returns the lesser of two objects according to the given comparator.
|
default @Nonnull BinaryOperator<TYPE> |
BinaryOperator.propagateNull() |
default @Nonnull BinaryOperator<TYPE> |
BinaryOperator.replaceNull(TYPE defaultValue) |
Copyright © 2017. All rights reserved.