saker.build
Documentation
TaskDoc
JavaDoc
Packages
nest.repository.support
saker.android
saker.apple
saker.build
saker.clang
saker.compiler.utils
saker.jar
saker.java.compiler
saker.java.testing
saker.maven.classpath
saker.maven.support
saker.msvc
saker.nest
saker.rmi
saker.sdk.support
saker.standard
saker.util
saker.windows
saker.zip
Home
Build trace
Sponsor
Blog
GitHub
JavaDoc
Packages
All classes
Constants
package
saker.build.thirdparty.saker.util.function
@FunctionalInterface
public interface
ThrowingFunction
<
T
,
R
>
Functional interface similar to
Function
, except the
apply
(
T
)
method is allowed to throw an arbitrary exception.
T
The argument type of the function.
R
The return type of the function.
Methods
public
R
apply
(
T
value
)
Applies the function to the given argument.
public abstract
R
apply
(
T
value
)
throws
Exception
Applies the function to the given argument.
value
The argument.
The calculated result value.
Exception
In case the operation failed.