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