IThrowableFunction¶
-
interface
IThrowableFunction<T, R>¶ Functional interface that takes one parameter and returns a value. It also allows exceptions.
Parameters: - <T> – The parameter type.
- <R> – The return type.
Methods¶
accept¶
-
R
accept(T parInput)¶ Performs this operation on the given argument and returns the result.
Parameters: - parInput – The input argument.
Throws: - JSONException – On decode/encode failure.
- IOException – On read/write failure.
Returns: The processed value.