org.jscience.physics.waves.optics.materials
Class ConstantParameter

java.lang.Object
  extended by org.jscience.physics.waves.optics.materials.Parameter
      extended by org.jscience.physics.waves.optics.materials.ConstantParameter
All Implemented Interfaces:
java.lang.Cloneable

public class ConstantParameter
extends Parameter
implements java.lang.Cloneable

DOCUMENT ME!


Constructor Summary
ConstantParameter()
          Creates a new ConstantParameter object.
ConstantParameter(ConstantParameter p)
          Creates a new ConstantParameter object.
ConstantParameter(double n)
          Creates a new ConstantParameter object.
ConstantParameter(double[] n)
          Creates a new ConstantParameter object.
 
Method Summary
 double[] asArray()
          DOCUMENT ME!
 double indexAtWavelength(double w)
          DOCUMENT ME!
 double N()
          DOCUMENT ME!
 void setArray(double[] n)
          DOCUMENT ME!
 void setN(double n)
          DOCUMENT ME!
 java.lang.String type()
          DOCUMENT ME!
 
Methods inherited from class org.jscience.physics.waves.optics.materials.Parameter
clone
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ConstantParameter

public ConstantParameter()
Creates a new ConstantParameter object.


ConstantParameter

public ConstantParameter(double n)
Creates a new ConstantParameter object.

Parameters:
n - DOCUMENT ME!

ConstantParameter

public ConstantParameter(ConstantParameter p)
Creates a new ConstantParameter object.

Parameters:
p - DOCUMENT ME!

ConstantParameter

public ConstantParameter(double[] n)
                  throws IllegalDimensionException
Creates a new ConstantParameter object.

Parameters:
n - DOCUMENT ME!
Throws:
IllegalDimensionException - DOCUMENT ME!
Method Detail

type

public java.lang.String type()
DOCUMENT ME!

Specified by:
type in class Parameter
Returns:
DOCUMENT ME!

indexAtWavelength

public double indexAtWavelength(double w)
DOCUMENT ME!

Specified by:
indexAtWavelength in class Parameter
Parameters:
w - DOCUMENT ME!
Returns:
DOCUMENT ME!

asArray

public double[] asArray()
DOCUMENT ME!

Specified by:
asArray in class Parameter
Returns:
DOCUMENT ME!

setArray

public void setArray(double[] n)
              throws IllegalDimensionException
DOCUMENT ME!

Specified by:
setArray in class Parameter
Parameters:
n - DOCUMENT ME!
Throws:
IllegalDimensionException - DOCUMENT ME!

N

public double N()
DOCUMENT ME!

Returns:
DOCUMENT ME!

setN

public void setN(double n)
DOCUMENT ME!

Parameters:
n - DOCUMENT ME!