@FunctionalInterface
public interface LongOperator1
extends java.util.function.LongUnaryOperator
| Modifier and Type | Field and Description |
|---|---|
static LongOperator1 |
BIT_FLIP
Byte operator BIT FLIP (
~). |
static LongOperator1 |
NEGATE
Long operator NEGATE.
|
| Modifier and Type | Method and Description |
|---|---|
default LongOperator1 |
andThen(LongOperator1 after)
Create a function which applies this function and feeds the result into the next function.
|
static LongOperator1 |
from(java.util.function.LongUnaryOperator operator)
Make a standard unary long operator usable as
LongOperator1. |
default LongOperator0 |
partial(long argument)
Create a zero argument function from this one by applying a constant argument.
|
static final LongOperator1 NEGATE
0 also Long.MIN_VALUE is its own negative.static final LongOperator1 BIT_FLIP
~).@NotNull default LongOperator0 partial(long argument)
argument - constant argument@NotNull default LongOperator1 andThen(@NotNull LongOperator1 after)
after - function called with the result of this function@NotNull static LongOperator1 from(@NotNull java.util.function.LongUnaryOperator operator)
LongOperator1.
This is useful if you want to make use of the extended functionality of this implementation.operator - operator to be used as a LongOperator1LongOperator1 view of the incoming operator, or possibly just a cast if
operator already has the correct type