Function.X<A,B>, Function.Xe<A,B,Err>| Constructor and Description |
|---|
X() |
| Modifier and Type | Method and Description |
|---|---|
B |
apply(A a)
Apply function to
a. |
Function<A,Either<Exception,B>> |
either() |
protected abstract B |
xapply(A a)
Apply function to
a. |
protected abstract B xapply(A a) throws Exception
a. Any thrown exception gets "chucked" so that you may catch them as is. See
Functions.chuck(Throwable) for details.ExceptionCopyright © 2009–2020 Opencast Project. All rights reserved.