edu.ucla.stat.SOCR.analyses.util.utils
Class PrecDouble
java.lang.Object
edu.ucla.stat.SOCR.analyses.util.utils.PrecDouble
public class PrecDouble
- extends java.lang.Object
MultiDendrograms
Simplified interface to BigDecimal
- Since:
- JDK 6.0
- Author:
- Justo Montiel, David Torres, Sergio Gómez, Alberto Fernández
Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
PrecDouble
public PrecDouble(java.lang.String num)
PrecDouble
public PrecDouble(java.lang.Double num)
PrecDouble
public PrecDouble(java.lang.Float num)
PrecDouble
public PrecDouble(java.lang.Integer num)
PrecDouble
public PrecDouble(java.math.BigDecimal num)
Suma
public void Suma(java.math.BigDecimal num)
Suma
public void Suma(PrecDouble num)
Suma
public void Suma(int num)
Suma
public void Suma(double num)
Suma
public void Suma(java.lang.String num)
Resta
public void Resta(java.math.BigDecimal num)
Resta
public void Resta(PrecDouble num)
Resta
public void Resta(int num)
Resta
public void Resta(double num)
Resta
public void Resta(java.lang.String num)
Producto
public void Producto(java.math.BigDecimal num)
Producto
public void Producto(PrecDouble num)
Producto
public void Producto(int num)
Producto
public void Producto(double num)
Producto
public void Producto(java.lang.String num)
Division
public void Division(java.math.BigDecimal num)
Division
public void Division(PrecDouble num)
Division
public void Division(int num)
Division
public void Division(double num)
Division
public void Division(java.lang.String num)
Pow
public void Pow(int pot)
Plus
public void Plus()
CanviSigne
public void CanviSigne()
SetPositiu
public void SetPositiu()
SetMajor
public void SetMajor(java.math.BigDecimal num)
SetMajor
public void SetMajor(PrecDouble num)
SetMajor
public void SetMajor(double num)
SetMajor
public void SetMajor(int num)
SetMajor
public void SetMajor(java.lang.String num)
SetMenor
public void SetMenor(java.math.BigDecimal num)
SetMenor
public void SetMenor(PrecDouble num)
SetMenor
public void SetMenor(double num)
SetMenor
public void SetMenor(int num)
SetMenor
public void SetMenor(java.lang.String num)
equals
public boolean equals(java.math.BigDecimal num)
equals
public boolean equals(PrecDouble num)
equals
public boolean equals(int num)
equals
public boolean equals(double num)
equals
public boolean equals(java.lang.String num)
CompareTo
public int CompareTo(java.math.BigDecimal num)
CompareTo
public int CompareTo(PrecDouble num)
CompareTo
public int CompareTo(int num)
CompareTo
public int CompareTo(double num)
CompareTo
public int CompareTo(java.lang.String num)
isMenor
public boolean isMenor(java.math.BigDecimal num)
isMenor
public boolean isMenor(PrecDouble num)
isMenor
public boolean isMenor(int num)
isMenor
public boolean isMenor(double num)
isMenor
public boolean isMenor(java.lang.String num)
isMajor
public boolean isMajor(java.math.BigDecimal num)
isMajor
public boolean isMajor(PrecDouble num)
isMajor
public boolean isMajor(int num)
isMajor
public boolean isMajor(double num)
isMajor
public boolean isMajor(java.lang.String num)
parserToDouble
public double parserToDouble()
parserToInteger
public int parserToInteger()
parserToBigDecimal
public java.math.BigDecimal parserToBigDecimal()
setPrecisio
public void setPrecisio(int prec)
setPrecisio
public void setPrecisio(int prec,
java.math.RoundingMode round)
getPrecisio
public int getPrecisio()
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
toPlainString
public java.lang.String toPlainString()
toString
public java.lang.String toString(java.lang.String patron)
clone
public PrecDouble clone()
- Overrides:
clone
in class java.lang.Object