U - the type of argument 2E - the Exception type that the operation may throw@FunctionalInterface public interface ShortObjToBoolE<U,E extends Exception>
(short, U) -> boolean.| Modifier and Type | Method and Description |
|---|---|
default ObjToBoolE<U,E> |
bind(short sh)
Binds
(sh) to the beginning of this, returning a new function
of type (U) -> boolean. |
static <U,E extends Exception> |
bind(ShortObjToBoolE<U,E> f,
short sh)
Binds
(sh) to the beginning of f, returning a new function
of type (U) -> boolean. |
static <U,E extends Exception> |
bind(ShortObjToBoolE<U,E> f,
short sh,
U u)
Binds
(sh, u) to f, returning a new function
of type () -> boolean. |
default NilToBoolE<E> |
bind(short sh,
U u)
Binds
(sh, u) to this, returning a new function
of type () -> boolean. |
boolean |
call(short sh,
U u)
Performs this operation.
|
static <U,E extends Exception> |
rbind(ShortObjToBoolE<U,E> f,
U u)
Binds
(u) to the end of f, returning a new function
of type (short) -> boolean. |
default ShortToBoolE<E> |
rbind(U u)
Binds
(u) to the end of this, returning a new function
of type (short) -> boolean. |
static <U,E extends Exception> ObjToBoolE<U,E> bind(ShortObjToBoolE<U,E> f, short sh)
(sh) to the beginning of f, returning a new function
of type (U) -> boolean.U - the type of argument 2E - the Exception type that the operation may throwf - the unbound functionsh - argument 1(U u) -> boolean that calls
f.call(sh, u) and returns the result.default ObjToBoolE<U,E> bind(short sh)
(sh) to the beginning of this, returning a new function
of type (U) -> boolean.sh - argument 1(U u) -> boolean that calls
this.call(sh, u) and returns the result.static <U,E extends Exception> ShortToBoolE<E> rbind(ShortObjToBoolE<U,E> f, U u)
(u) to the end of f, returning a new function
of type (short) -> boolean.U - the type of argument 2E - the Exception type that the operation may throwf - the unbound functionu - argument 2(short sh) -> boolean that calls
f.call(sh, u) and returns the result.default ShortToBoolE<E> rbind(U u)
(u) to the end of this, returning a new function
of type (short) -> boolean.u - argument 2(short sh) -> boolean that calls
this.call(sh, u) and returns the result.static <U,E extends Exception> NilToBoolE<E> bind(ShortObjToBoolE<U,E> f, short sh, U u)
(sh, u) to f, returning a new function
of type () -> boolean.U - the type of argument 2E - the Exception type that the operation may throwf - the unbound functionsh - argument 1u - argument 2() -> boolean that calls
f.call(sh, u) and returns the result.default NilToBoolE<E> bind(short sh, U u)
(sh, u) to this, returning a new function
of type () -> boolean.sh - argument 1u - argument 2() -> boolean that calls
this.call(sh, u) and returns the result.Copyright © 2014. All rights reserved.