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