OBJECT - The object type to be returnedpublic interface ObjectArithmetic<OBJECT>
| Modifier and Type | Method and Description |
|---|---|
OBJECT |
add(OBJECT s)
Add to a copy of this.
|
OBJECT |
addInplace(OBJECT s)
Add to this.
|
OBJECT |
divide(OBJECT s)
Divide a copy of this.
|
OBJECT |
divideInplace(OBJECT s)
Divide this.
|
OBJECT |
multiply(OBJECT s)
Multiply a copy of this.
|
OBJECT |
multiplyInplace(OBJECT s)
Multiply this.
|
OBJECT |
subtract(OBJECT s)
Subtract from a copy of this.
|
OBJECT |
subtractInplace(OBJECT s)
Subtract from this.
|
OBJECT add(OBJECT s)
s - add s to a copy of thisOBJECT addInplace(OBJECT s)
s - add s to thisOBJECT subtract(OBJECT s)
s - minus a copy of this by sOBJECT subtractInplace(OBJECT s)
s - minus this by sOBJECT multiply(OBJECT s)
s - times a copy of this by sOBJECT multiplyInplace(OBJECT s)
s - times this by sOBJECT divide(OBJECT s)
s - divide a copy of this by sOBJECT divideInplace(OBJECT s)
s - divide this by s