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