Interface Effect.Applicant<A>
- Type Parameters:
A- the type of thing to supply to the effect.
- All Known Subinterfaces:
Either.Projection<A,B, L, R>, Maybe<A>
- All Known Implementing Classes:
Either.AbstractProjection, Either.LeftProjection, Either.RightProjection, Option, Option.None, Option.Some
- 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 upon which side-effects may be applied.
- Since:
- 1.0
-
Method Summary
Modifier and TypeMethodDescriptionvoidDeprecated.extend or implementIterable.forEach(Consumer)instead
-
Method Details
-
foreach
Deprecated.extend or implementIterable.forEach(Consumer)insteadPerform the given side-effect for each contained element.- Parameters:
effect- the input to use for performing the effect.
-
Iterable