@FunctionalInterface
public interface ShortUnaryOperator
| Modifier and Type | Method and Description |
|---|---|
default ShortUnaryOperator |
andThen(ShortUnaryOperator after)
Returns a composed function that first applies this function to
its input, and then applies the
after function to the result. |
short |
applyAsShort(short k)
Type Specific get function to reduce boxing/unboxing
|
default ShortUnaryOperator |
compose(ShortUnaryOperator before)
Returns a composed function that first applies the
before
function to its input, and then applies this function to the result. |
static ShortUnaryOperator |
identity()
Creates a Default function that returns the input provided.
|
short applyAsShort(short k)
k - the value that should be processedstatic ShortUnaryOperator identity()
default ShortUnaryOperator compose(ShortUnaryOperator before)
before
function to its input, and then applies this function to the result.
If evaluation of either function throws an exception, it is relayed to
the caller of the composed function.before - the function that should be used firstdefault ShortUnaryOperator andThen(ShortUnaryOperator after)
after function to the result.
If evaluation of either function throws an exception, it is relayed to
the caller of the composed function.after - the function that should be used last