public abstract static class ArithmeticOpTable.UnaryOp<T> extends ArithmeticOpTable.Op
| Modifier and Type | Class and Description |
|---|---|
static class |
ArithmeticOpTable.UnaryOp.Abs |
static class |
ArithmeticOpTable.UnaryOp.Neg |
static class |
ArithmeticOpTable.UnaryOp.Not |
static class |
ArithmeticOpTable.UnaryOp.Sqrt |
| Modifier | Constructor and Description |
|---|---|
protected |
UnaryOp(String operation) |
| Modifier and Type | Method and Description |
|---|---|
abstract Constant |
foldConstant(Constant value)
Apply the operation to a
Constant. |
abstract Stamp |
foldStamp(Stamp stamp)
Apply the operation to a
Stamp. |
ArithmeticOpTable.UnaryOp<T> |
unwrap() |
equals, hashCode, toStringprotected UnaryOp(String operation)
public abstract Constant foldConstant(Constant value)
Constant.public ArithmeticOpTable.UnaryOp<T> unwrap()