R - the type of the return valueE - the Exception type that the operation may throw@FunctionalInterface public interface LongToObjE<R,E extends Exception>
(long) -> R.| Modifier and Type | Method and Description |
|---|---|
default NilToObjE<R,E> |
bind(long l)
Binds
(l) to this, returning a new function
of type () -> R. |
static <R,E extends Exception> |
bind(LongToObjE<R,E> f,
long l)
Binds
(l) to f, returning a new function
of type () -> R. |
R |
call(long l)
Performs this operation.
|
static <R,E extends Exception> NilToObjE<R,E> bind(LongToObjE<R,E> f, long l)
(l) 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 functionl - the argument() -> R that calls
f.call(l) and returns the result.Copyright © 2015. All rights reserved.