fit
Class ScientificDouble

java.lang.Object
  extended byjava.lang.Number
      extended byfit.ScientificDouble
All Implemented Interfaces:
java.lang.Comparable, java.io.Serializable

public class ScientificDouble
extends java.lang.Number
implements java.lang.Comparable

See Also:
Serialized Form

Field Summary
protected  double precision
           
protected  double value
           
 
Constructor Summary
ScientificDouble(double value)
           
 
Method Summary
 int compareTo(java.lang.Object obj)
           
 double doubleValue()
           
 boolean equals(java.lang.Object obj)
           
 float floatValue()
           
 int intValue()
           
 long longValue()
           
static double precision(java.lang.String s)
           
 java.lang.String toString()
           
static java.lang.String tweak(java.lang.String s)
           
static ScientificDouble valueOf(java.lang.String s)
           
 
Methods inherited from class java.lang.Number
byteValue, shortValue
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

value

protected double value

precision

protected double precision
Constructor Detail

ScientificDouble

public ScientificDouble(double value)
Method Detail

valueOf

public static ScientificDouble valueOf(java.lang.String s)

precision

public static double precision(java.lang.String s)

tweak

public static java.lang.String tweak(java.lang.String s)

equals

public boolean equals(java.lang.Object obj)

compareTo

public int compareTo(java.lang.Object obj)
Specified by:
compareTo in interface java.lang.Comparable

toString

public java.lang.String toString()

doubleValue

public double doubleValue()

floatValue

public float floatValue()

longValue

public long longValue()

intValue

public int intValue()