com.isti.jplotresp
Class FreqValueBlk

java.lang.Object
  extended by com.isti.jplotresp.FreqValueBlk

public class FreqValueBlk
extends java.lang.Object

Class FreqValueBlk holds a frequency value and one or two data values.


Field Summary
 double freq
          Frequency value.
 double value1
          First data value.
 double value2
          Second data value.
 boolean value2Flag
          Flag set 'true' if second data value exists.
 
Constructor Summary
FreqValueBlk(double freq, double value1)
          Creates a block holding a frequency value and one data value.
FreqValueBlk(double freq, double value1, double value2)
          Creates a block holding a frequency value and two data values.
 
Method Summary
 java.lang.String toString()
          Returns a string representation of the values held by this block.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

freq

public final double freq
Frequency value.


value1

public final double value1
First data value.


value2

public final double value2
Second data value.


value2Flag

public final boolean value2Flag
Flag set 'true' if second data value exists.

Constructor Detail

FreqValueBlk

public FreqValueBlk(double freq,
                    double value1,
                    double value2)
Creates a block holding a frequency value and two data values.

Parameters:
freq - amplitude value.
value1 - first data value.
value2 - second data value.

FreqValueBlk

public FreqValueBlk(double freq,
                    double value1)
Creates a block holding a frequency value and one data value.

Parameters:
freq - amplitude value.
value1 - phase value.
Method Detail

toString

public java.lang.String toString()
Returns a string representation of the values held by this block.

Overrides:
toString in class java.lang.Object
Returns:
A string representation of the values held by this block.