Created
July 8, 2018 15:57
-
-
Save kogupta/83537ee130e1c0c2c531adf70df0453f to your computer and use it in GitHub Desktop.
function throwing checked exception
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@FunctionalInterface | |
public interface ThrowingFunction<I, O, T extends Throwable> { | |
O apply(I i) throws T; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment