OperatorOverloader can implement for any pair of
operands.
| Modifier and Type | Field and Description |
|---|---|
| public static final Operation | ADD
Add operation. |
| public static final Operation | DIVIDE
Divide operation. |
| public static final Operation | MODULUS
Modulus operation. |
| public static final Operation | MULTIPLY
Multiply operation. |
| public static final Operation | POWER
Power operation. |
| public static final Operation | SUBTRACT
Subtract operation. |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public static Operation | |
| public static Operation[] |
| ADD | back to summary |
|---|---|
| public static final Operation ADD Add operation. | |
| DIVIDE | back to summary |
|---|---|
| public static final Operation DIVIDE Divide operation. | |
| MODULUS | back to summary |
|---|---|
| public static final Operation MODULUS Modulus operation. | |
| MULTIPLY | back to summary |
|---|---|
| public static final Operation MULTIPLY Multiply operation. | |
| POWER | back to summary |
|---|---|
| public static final Operation POWER Power operation. | |
| SUBTRACT | back to summary |
|---|---|
| public static final Operation SUBTRACT Subtract operation. | |
| Operation | back to summary |
|---|---|
| private Operation() | |
| valueOf | back to summary |
|---|---|
| public static Operation valueOf(String name) | |
| values | back to summary |
|---|---|
| public static Operation[] values() | |