drasys.or
Class Real

java.lang.Object
  |
  +--drasys.or.Real

public class Real
extends java.lang.Object
implements RealI

An implementation of a mutable double value.


Field Summary
 double value
           
 
Constructor Summary
Real()
           
Real(double v)
           
 
Method Summary
 double doubleValue()
          Return the double value of this Real object;
 boolean equals(java.lang.Object o)
          returns 'true' this is equal to 'o'.
 float floatValue()
          Return the float value of this Real object;
 java.lang.String toString()
          Returns a string representation of this complex number.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

value

public double value
Constructor Detail

Real

public Real()

Real

public Real(double v)
Method Detail

doubleValue

public double doubleValue()
Return the double value of this Real object;
Specified by:
doubleValue in interface RealI

floatValue

public float floatValue()
Return the float value of this Real object;
Specified by:
floatValue in interface RealI

equals

public boolean equals(java.lang.Object o)
returns 'true' this is equal to 'o'.
Overrides:
equals in class java.lang.Object

toString

public java.lang.String toString()
Returns a string representation of this complex number.
Overrides:
toString in class java.lang.Object


Copyright(C)1997-2000 by DRA Systems all rights reserved. OpsResearch.com