User:Simpsons contributor/Complex number storer

package newtonsmethodfractal;

/*Stores a complex number. It can store it * as two ints, two doubles, or a combination * of the two*/

public class Complex {   public double realDouble, imaginaryDouble; public int realInt, imaginaryInt; public Complex {       realDouble = 0; imaginaryDouble = 0; realInt = 0; imaginaryInt = 0; }   public void setReal(int input) {       realInt = input; }   public void setReal(double input) {       realDouble = input; }   public void setImaginary(int input) {       imaginaryInt = input; }   public void setImaginary(double input) {       imaginaryDouble = input; } }