Package org.opencastproject.util.data
Class Function0.X<A>
java.lang.Object
org.opencastproject.util.data.Function0<A>
org.opencastproject.util.data.Function0.X<A>
Version of
Function0 that allows for throwing a checked exception.-
Nested Class Summary
Nested classes/interfaces inherited from class org.opencastproject.util.data.Function0
Function0.X<A> -
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
X
public X()
-
-
Method Details
-
apply
Description copied from class:Function0Apply function yielding a constant value. Don't be tempted to become impure! -
xapply
Apply function toa. Any thrown exception gets "chucked" so that you may catch them as is. SeeFunctions.chuck(Throwable)for details.- Throws:
Exception
-