File
Doc
Category
Size
Date
Package
ComplexNumberFactoryImpl.java
API Doc
Example
2624
Thu Mar 16 11:52:38 GMT 2000
None
ComplexNumberImpl
java.lang.Object
public class ComplexNumberImpl extends Object implements Serializable, ComplexNumber
Fields Summary
private double
real
private double
imaginary
Constructors Summary
Methods Summary
public
double
getImaginary
()
return imaginary;
public
double
getReal
()
return real;
public void
setImaginary
(
double
i)
imaginary = i;
public void
setReal
(
double
r)
real = r;
public
java.lang.String
toString
()
return real + " + " + imaginary + "i";
Java Code Source