public class NegativeOperator extends java.lang.Object implements UnaryOperator
| Modifier and Type | Field and Description |
|---|---|
static NegativeOperator |
INSTANCE
Negative operator singleton.
|
| Modifier and Type | Method and Description |
|---|---|
Value |
apply(Value operand)
Applies this operator to the given operand.
|
public static final NegativeOperator INSTANCE
public Value apply(Value operand)
UnaryOperatorapply in interface UnaryOperatoroperand - the operand to apply this operator to.