public class DoubleMath extends NumberMath<Double>
Constructor and Description |
---|
DoubleMath(double i) |
Modifier and Type | Method and Description |
---|---|
Number |
bitwiseAnd(Number right) |
Number |
bitwiseComplement() |
Number |
bitwiseOr(Number right) |
Number |
bitwiseXor(Number right) |
Number |
divide(Number right)
Returns the result of dividing the
this by right . |
Boolean |
equalTo(Number right) |
Boolean |
greaterThan(Number right) |
Boolean |
greaterThanEq(Number right) |
Boolean |
lessThan(Number right) |
Boolean |
lessThanEq(Number right) |
Number |
minus(Number right) |
Boolean |
notEqualTo(Number right) |
Number |
plus(Number right) |
Number |
remainder(Number right)
Returns the result of
this % right . |
Number |
shiftLeft(Number right) |
Number |
signedShiftRight(Number right) |
Number |
times(Number right) |
Number |
unaryMinus() |
Number |
unaryPlus() |
Number |
unsignedShiftRight(Number right) |
getNumberMath, isIntegralZero
public Number plus(Number right)
plus
in class NumberMath<Double>
public Number minus(Number right)
minus
in class NumberMath<Double>
public Number times(Number right)
times
in class NumberMath<Double>
public Number divide(Number right)
NumberMath
this
by right
. If right
is zero
and this is an integer division, null
is returned.divide
in class NumberMath<Double>
public Number remainder(Number right)
NumberMath
this % right
. If right
is zero and this is an integer
remainder, null
is returned.remainder
in class NumberMath<Double>
public Number shiftLeft(Number right)
shiftLeft
in class NumberMath<Double>
public Number signedShiftRight(Number right)
signedShiftRight
in class NumberMath<Double>
public Number unsignedShiftRight(Number right)
unsignedShiftRight
in class NumberMath<Double>
public Number bitwiseAnd(Number right)
bitwiseAnd
in class NumberMath<Double>
public Number bitwiseXor(Number right)
bitwiseXor
in class NumberMath<Double>
public Number bitwiseOr(Number right)
bitwiseOr
in class NumberMath<Double>
public Number unaryPlus()
unaryPlus
in class NumberMath<Double>
public Number unaryMinus()
unaryMinus
in class NumberMath<Double>
public Number bitwiseComplement()
bitwiseComplement
in class NumberMath<Double>
public Boolean equalTo(Number right)
equalTo
in class NumberMath<Double>
public Boolean notEqualTo(Number right)
notEqualTo
in class NumberMath<Double>
public Boolean greaterThan(Number right)
greaterThan
in class NumberMath<Double>
public Boolean greaterThanEq(Number right)
greaterThanEq
in class NumberMath<Double>
public Boolean lessThan(Number right)
lessThan
in class NumberMath<Double>
public Boolean lessThanEq(Number right)
lessThanEq
in class NumberMath<Double>