A - the type that this Effect takes as inputConsumer@Deprecated @FunctionalInterface public interface Effect<A> extends Consumer<A>
| Modifier and Type | Interface and Description |
|---|---|
static interface |
Effect.Applicant<A>
Deprecated.
in favour of
Iterable |
| Modifier and Type | Method and Description |
|---|---|
default void |
accept(A a)
Deprecated.
Adapt to the Java 8 interface.
|
void |
apply(A a)
Deprecated.
Perform the side-effect.
|
void apply(A a)
a - the input to use for performing the effect.Copyright © 2017 Atlassian. All rights reserved.