@FunctionalInterface public interface Unappliable
FunctionalInterface.
Unappliable is a simple FunctionalInterface with no argument and no return value.
This is a FunctionalInterface
whose functional method is unapply().
| Modifier and Type | Field and Description |
|---|---|
static Unappliable |
EMPTY
An empty
Unappliable. |
| Modifier and Type | Method and Description |
|---|---|
static Unappliable |
all(Unappliable... unapplies)
Accepts a vararg of
Unappliable objects and
returns a composed Unappliable that performs, in sequence,
all operations. |
default Unappliable |
andThen(Unappliable after)
Returns a composed
Unappliable that performs, in sequence, this
operation followed by the after operation. |
void |
unapply()
Performs a specific operation.
|
static final Unappliable EMPTY
Unappliable.static Unappliable all(Unappliable... unapplies)
Unappliable objects and
returns a composed Unappliable that performs, in sequence,
all operations.unapplies - the Unappliable objectsUnappliable that performs, in sequence, all operationsNullPointerException - if unapplies is null or if vararg unapplies contains null elementsvoid unapply()
default Unappliable andThen(Unappliable after)
Unappliable that performs, in sequence, this
operation followed by the after operation. If performing either
operation throws an exception, it is relayed to the caller of the
composed operation. If performing this operation throws an exception,
the after operation will not be performed.after - the operation to perform after this operationUnappliable that performs in sequence this
operation followed by the after operationNullPointerException - if after is null