T - Type accepted by the functionR - Type returned by the function@FunctionalInterface public interface IOFunction<T,R>
Function but allowing an
IOException to be thrown.| Modifier and Type | Method and Description |
|---|---|
R |
apply(T t)
Apply the function and get a result.
|
R apply(T t) throws IOException
t - function argumentIOException - if an I/O error occursCopyright © 2016–2021 The Apache Software Foundation. All rights reserved.