All Packages Class Hierarchy This Package Previous Next Index
Class PREDATOR.ADT.ComplexObject
java.lang.Object
|
+----PREDATOR.ADT.DataObject
|
+----PREDATOR.ADT.ComplexObject
- public class ComplexObject
- extends DataObject
Encapsulates all in-memory data regarding a complex-number ADT object.
- See Also:
- ADT_int
-
ComplexObject()
-
-
getImag()
-
-
getReal()
-
-
toString(ADTMetaInfo)
- Prints the value of the complex number
ComplexObject
public ComplexObject()
toString
public String toString(ADTMetaInfo MetaInfo)
- Prints the value of the complex number
- Parameters:
- MetaInfo - The meta-info for this object
- Returns:
- A string holding the value of the complex number
- Overrides:
- toString in class DataObject
getReal
public double getReal()
getImag
public double getImag()
All Packages Class Hierarchy This Package Previous Next Index