public abstract class Function0<A> extends Object
Function0.X| Modifier and Type | Class and Description |
|---|---|
static class |
Function0.X<A>
Version of
Function0 that allows for throwing a checked exception. |
| Constructor and Description |
|---|
Function0() |
| Modifier and Type | Method and Description |
|---|---|
abstract A |
apply()
Apply function yielding a constant value.
|
<B> Function0<B> |
then(Function<A,B> f)
Apply this function, then pass the result to
f. |
<B> Function0<B> |
then(Function0<B> f)
Apply this function and ignore its result, then apply
f. |
Effect0 |
toEffect()
Turn this function into an effect by discarding its result.
|
public abstract A apply()
public <B> Function0<B> then(Function0<B> f)
f.public Effect0 toEffect()
Copyright © 2009–2020 Opencast Project. All rights reserved.