| Modifier and Type | Class and Description |
|---|---|
static class |
Effect.X<A>
Version of
Effect that allows for throwing a checked exception. |
Function.Xe<A,B,Err>| Constructor and Description |
|---|
Effect() |
| Modifier and Type | Method and Description |
|---|---|
Effect<A> |
and(Effect<? super A> next)
Run this and the
next effect on the given argument. |
Void |
apply(A a)
Apply function to
a. |
protected abstract void |
run(A a)
Run the side effect.
|
Function<A,Void> |
toFunction()
Return the effect as a function.
|
Copyright © 2009–2021 Opencast Project. All rights reserved.