JavaScript is disabled on your browser.
Skip navigation links
Overview
Package
Class
Use
Tree
Index
Help
Summary:
Nested |
Field |
Constr |
Method
Detail:
Field |
Constr |
Method
SEARCH:
Package
me.hsgamer.hscore.common.function
Interface ThrowableFunction<T,
R>
Type Parameters:
T
- the type of the input to the function
R
- the type of the result of the function
All Superinterfaces:
Function
<T,
R>
public interface
ThrowableFunction<T,
R>
extends
Function
<T,
R>
Function
but returns null if there is an exception
Method Summary
All Methods
Instance Methods
Abstract Methods
Default Methods
Modifier and Type
Method
Description
default
R
apply
(
T
t)
R
applySafe
(
T
t)
Apply with throwable
Methods inherited from interface java.util.function.
Function
andThen
,
compose
Method Details
apply
default
R
apply
(
T
t)
Specified by:
apply
in interface
Function
<
T
,
R
>
applySafe
R
applySafe
(
T
t)
throws
Throwable
Apply with throwable
Parameters:
t
- the input
Returns:
the result
Throws:
Throwable
- the exception