T
- The type of the argument to the function.R
- The type of the result of the supplier.E
- The type of Exceptions thrown by this function.@FunctionalInterface public interface FunctionWithException<T,R,E extends Throwable>
Function
that may throw exceptions.Modifier and Type | Method and Description |
---|---|
R |
apply(T value)
Calls this function.
|
Copyright © 2023–2024 The Apache Software Foundation. All rights reserved.