static final class Numbers.DoubleOps extends Numbers.OpsP
Constructor and Description |
---|
Numbers.DoubleOps() |
Modifier and Type | Method and Description |
---|---|
java.lang.Number |
add(java.lang.Number x,
java.lang.Number y) |
Numbers.Ops |
combine(Numbers.Ops y) |
java.lang.Number |
dec(java.lang.Number x) |
java.lang.Number |
divide(java.lang.Number x,
java.lang.Number y) |
boolean |
equiv(java.lang.Number x,
java.lang.Number y) |
java.lang.Number |
inc(java.lang.Number x) |
boolean |
isNeg(java.lang.Number x) |
boolean |
isPos(java.lang.Number x) |
boolean |
isZero(java.lang.Number x) |
boolean |
lt(java.lang.Number x,
java.lang.Number y) |
java.lang.Number |
multiply(java.lang.Number x,
java.lang.Number y) |
java.lang.Number |
negate(java.lang.Number x) |
Numbers.Ops |
opsWith(Numbers.BigDecimalOps x) |
Numbers.Ops |
opsWith(Numbers.BigIntOps x) |
Numbers.Ops |
opsWith(Numbers.DoubleOps x) |
Numbers.Ops |
opsWith(Numbers.LongOps x) |
Numbers.Ops |
opsWith(Numbers.RatioOps x) |
java.lang.Number |
quotient(java.lang.Number x,
java.lang.Number y) |
java.lang.Number |
remainder(java.lang.Number x,
java.lang.Number y) |
public Numbers.Ops combine(Numbers.Ops y)
public final Numbers.Ops opsWith(Numbers.LongOps x)
public final Numbers.Ops opsWith(Numbers.DoubleOps x)
public final Numbers.Ops opsWith(Numbers.RatioOps x)
public final Numbers.Ops opsWith(Numbers.BigIntOps x)
public final Numbers.Ops opsWith(Numbers.BigDecimalOps x)
public boolean isZero(java.lang.Number x)
public boolean isPos(java.lang.Number x)
public boolean isNeg(java.lang.Number x)
public final java.lang.Number add(java.lang.Number x, java.lang.Number y)
public final java.lang.Number multiply(java.lang.Number x, java.lang.Number y)
public java.lang.Number divide(java.lang.Number x, java.lang.Number y)
public java.lang.Number quotient(java.lang.Number x, java.lang.Number y)
public java.lang.Number remainder(java.lang.Number x, java.lang.Number y)
public boolean equiv(java.lang.Number x, java.lang.Number y)
public boolean lt(java.lang.Number x, java.lang.Number y)
public final java.lang.Number negate(java.lang.Number x)
public java.lang.Number inc(java.lang.Number x)
public java.lang.Number dec(java.lang.Number x)