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