@FunctionalInterface
public interface ShortOperator1
| Modifier and Type | Field and Description |
|---|---|
static ShortOperator1 |
BIT_FLIP
Short operator BIT FLIP (
~). |
static ShortOperator1 |
NEGATE
Short operator NEGATE.
|
| Modifier and Type | Method and Description |
|---|---|
default ShortOperator1 |
andThen(ShortOperator1 after)
Create a function which applies this function and feeds the result into the next function.
|
short |
applyAsShort(short value)
Apply the function.
|
default ShortOperator0 |
partial(short argument)
Create a zero argument function from this one by applying a constant argument.
|
static final ShortOperator1 NEGATE
short result.
This means that besides 0 also Short.MIN_VALUE is its own negative.static final ShortOperator1 BIT_FLIP
~).
In difference to the standard BIT FLIP this operator returns a short result.short applyAsShort(short value)
value - parameter value of the function@NotNull default ShortOperator0 partial(short argument)
argument - constant argument@NotNull default ShortOperator1 andThen(@NotNull ShortOperator1 after)
after - function called with the result of this function