de.dfg.oc.logfileanalyzer
Class ComparisonDataSet

java.lang.Object
  extended by de.dfg.oc.logfileanalyzer.ComparisonDataSet

public class ComparisonDataSet
extends Object

Contains the minimum, maximum, and the currently selected value of a table column. This data can be displayed in a ComparisonFrame.

Author:
Holger Prothmann

Field Summary
private  String columnName
          The name of the table column.
private  double max
          The maximum value contained in the column.
private  double min
          The minimum value contained in the column.
private  double selected
          The value of this currently selected classifier.
 
Constructor Summary
ComparisonDataSet(String _columnName, double _min, double _max, double _selected)
           
 
Method Summary
 String getColumnName()
          Returns the name of the table column.
 double getMax()
          Returns the maximum value contained in the column.
 double getMin()
          Returns the minimum value contained in the column.
 double getSelected()
          Returns the value of this currently selected classifier.
 String toString()
          Returns a string representation of this object.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

columnName

private String columnName
The name of the table column.


min

private double min
The minimum value contained in the column.


max

private double max
The maximum value contained in the column.


selected

private double selected
The value of this currently selected classifier.

Constructor Detail

ComparisonDataSet

public ComparisonDataSet(String _columnName,
                         double _min,
                         double _max,
                         double _selected)
Method Detail

getMin

public double getMin()
Returns the minimum value contained in the column.

Returns:
the minimum value contained in the column

getMax

public double getMax()
Returns the maximum value contained in the column.

Returns:
the maximum value contained in the column

getSelected

public double getSelected()
Returns the value of this currently selected classifier.

Returns:
the value of this currently selected classifier

getColumnName

public String getColumnName()
Returns the name of the table column.

Returns:
the name of the table column

toString

public String toString()
Returns a string representation of this object.

Overrides:
toString in class Object
Returns:
a string representation of this object