Package org.opencastproject.util.data
Class Function0<A>
java.lang.Object
org.opencastproject.util.data.Function0<A>
- Direct Known Subclasses:
Effect0,Function0.X
Function of arity 0, i.e. a constant function.
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classVersion ofFunction0that allows for throwing a checked exception. -
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
Function0
public Function0()
-
-
Method Details
-
apply
Apply function yielding a constant value. Don't be tempted to become impure! -
then
Apply this function, then pass the result tof. -
then
Apply this function and ignore its result, then applyf.
-