T - The type this function will consumeR - The type this function will return@FunctionalInterface public interface ThrowableFunction1<T,R>
Function is that it allows for raising checked exceptions. Try.map(ThrowableFunction1) and Future.map(ThrowableFunction1) where the function could throw an exception.| Modifier and Type | Method and Description |
|---|---|
R |
apply(T t)
Applies this function returning a result.
|
Copyright © 2016, Peter Nerg Apache License v2.0