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