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