E - the Exception type that the operation may throw@FunctionalInterface public interface IntToIntE<E extends Exception>
(int) -> int.| Modifier and Type | Method and Description |
|---|---|
default NilToIntE<E> |
bind(int i)
Binds
(i) to this, returning a new function
of type () -> int. |
static <E extends Exception> |
bind(IntToIntE<E> f,
int i)
Binds
(i) to f, returning a new function
of type () -> int. |
int |
call(int i)
Performs this operation.
|
static <E extends Exception> NilToIntE<E> bind(IntToIntE<E> f, int i)
(i) to f, returning a new function
of type () -> int.E - the Exception type that the operation may throwf - the unbound functioni - the argument() -> int that calls
f.call(i) and returns the result.Copyright © 2015. All rights reserved.