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