|
COMP2396
|

Public Member Functions | |
| Complex (int real, int imaginary) | |
| void | add (Complex c) |
| void | subtract (Complex c) |
| String | toString () |
Private Attributes | |
| int | imaginary |
| int | real |
Definition at line 2 of file Complex.java.
|
inline |
Definition at line 5 of file Complex.java.
|
inline |
Definition at line 9 of file Complex.java.
References imaginary, and real.
Referenced by Tester.main().

|
inline |
Definition at line 13 of file Complex.java.
References imaginary, and real.
Referenced by Tester.main().

|
inline |
Definition at line 17 of file Complex.java.
Referenced by Tester.main().

|
private |
Definition at line 4 of file Complex.java.
Referenced by add(), and subtract().
|
private |
Definition at line 3 of file Complex.java.
Referenced by add(), and subtract().