@FunctionalInterface
public interface ExceptionIntFunction<R,E extends java.lang.Exception>
Modifier and Type | Method and Description |
---|---|
default <R2> ExceptionIntFunction<R2,E> |
andThen(ExceptionFunction<? super R,? extends R2,? extends E> after) |
R |
apply(int value)
Applies this function to the given arguments.
|
default <T> ExceptionFunction<T,R,E> |
compose(ExceptionToIntFunction<? super T,? extends E> before) |
R apply(int value) throws E extends java.lang.Exception
value
- the argumentE
- if an exception occursE extends java.lang.Exception
default <R2> ExceptionIntFunction<R2,E> andThen(ExceptionFunction<? super R,? extends R2,? extends E> after)
default <T> ExceptionFunction<T,R,E> compose(ExceptionToIntFunction<? super T,? extends E> before)
Copyright © 2015 JBoss, a division of Red Hat, Inc.