edu.ucla.stat.SOCR.util
Class Numeric

java.lang.Object
  extended by java.lang.Number
      extended by edu.ucla.stat.SOCR.util.Numeric
All Implemented Interfaces:
java.io.Serializable

public class Numeric
extends java.lang.Number

See Also:
Serialized Form

Field Summary
static double MAX_VALUE
           
static double MIN_VALUE
           
static double NaN
           
static double NEGATIVE_INFINITY
           
static double POSITIVE_INFINITY
           
 double value
           
 
Constructor Summary
Numeric(double d)
           
 
Method Summary
 double doubleValue()
           
 float floatValue()
           
 int intValue()
           
 long longValue()
           
 java.lang.String toString(int digits)
           
 
Methods inherited from class java.lang.Number
byteValue, shortValue
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

MIN_VALUE

public static double MIN_VALUE

MAX_VALUE

public static double MAX_VALUE

NEGATIVE_INFINITY

public static double NEGATIVE_INFINITY

POSITIVE_INFINITY

public static double POSITIVE_INFINITY

NaN

public static double NaN

value

public double value
Constructor Detail

Numeric

public Numeric(double d)
Method Detail

intValue

public int intValue()
Specified by:
intValue in class java.lang.Number

longValue

public long longValue()
Specified by:
longValue in class java.lang.Number

floatValue

public float floatValue()
Specified by:
floatValue in class java.lang.Number

doubleValue

public double doubleValue()
Specified by:
doubleValue in class java.lang.Number

toString

public java.lang.String toString(int digits)