- Type Parameters:
A - the type that this Effect takes as input
- All Superinterfaces:
Consumer<A>
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Deprecated.
A thing that performs a side-effect.
- Since:
- 1.0
-
Nested Class Summary
Nested Classes
-
Method Summary
default void
Deprecated.
Adapt to the Java 8 interface.
void
Deprecated.
Perform the side-effect.
-
Method Details
-
apply
Deprecated.
Perform the side-effect.
- Parameters:
a - the input to use for performing the effect.
-
accept
Deprecated.
Adapt to the Java 8 interface.
- Specified by:
accept in interface Consumer<A>
- Parameters:
a - the input to use for performing the effect.
- Since:
- 3.0
Consumer