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