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