/*
 * @(#)ParameterComplex.java    2.4.0   7 July 2005
 *
 * Copyright 2005
 * College of Computer and Information Science
 * Northeastern University
 * Boston, MA  02115
 *
 * The Java Power Tools software may be used for educational
 * purposes as long as this copyright notice is retained intact
 * at the top of all source files.
 *
 * To discuss possible commercial use of this software, 
 * contact Richard Rasala at Northeastern University, 
 * College of Computer and Information Science,
 * 617-373-2462 or rasala@ccs.neu.edu.
 *
 * The Java Power Tools software has been designed and built
 * in collaboration with Viera Proulx and Jeff Raab.
 *
 * Should this software be modified, the words "Modified from 
 * Original" must be included as a comment below this notice.
 *
 * All publication rights are retained.  This software or its 
 * documentation may not be published in any media either
 * in whole or in part without explicit permission.
 *
 * This software was created with support from Northeastern 
 * University and from NSF grant DUE-9950829.
 */

package edu.neu.ccs;

import java.awt.geom.*;

/**
 * <p>Class <code>ParameterComplex</code> is a collection of interfaces
 * that classify functions that accept and return values of
 * type <code>XComplex</code> according to the number and kind of
 * auxiliary function parameters.</p>
 *
 * <p>For example, a class that implements the interface
 * <code>ParameterComplex.ArrayParam</code> is required to have a method
 * with the following signature.</p>
 *
 * <p><code>public void setParam(XComplex[] params)</code></p>
 *
 * <p>Class <code>ParameterComplex</code> cannot be instantiated.</p>
 *
 * @author  Richard Rasala
 * @version 2.4.0
 * @since   2.4.0
 */
public class ParameterComplex {
    
    private ParameterComplex() {}
    
    public interface OneParam {
        public void setParam(XComplex a);
    }
    
    public interface TwoParam {
        public void setParam(XComplex a, XComplex b);
    }
    
    public interface ThreeParam {
        public void setParam(XComplex a, XComplex b, XComplex c);
    }
    
    public interface FourParam {
        public void setParam(XComplex a, XComplex b, XComplex c, XComplex d);
    }
    
    public interface ArrayParam {
        public void setParam(XComplex[] params);
    }
    
    public interface TwoArrayParam {
        public void setParam(XComplex[] params1, XComplex[] params2);
    }
    
    public interface ArrayOfArrayParam {
        public void setParam(XComplex[][] params);
    }
    
}
