de.fhdarmstadt.fbi.dtree.testdata
Class TestData

java.lang.Object
  extended byde.fhdarmstadt.fbi.dtree.testdata.TestData

public class TestData
extends java.lang.Object

The TestData class encapsulates test date with a classification.


Constructor Summary
TestData(java.lang.String data, Classification classification)
          Creates a new TestData instance for the given string and classification.
 
Method Summary
 Classification getClassification()
          Returns the classification assigned to this test data instance.
 java.lang.String getData()
          Returns the string representing the test data.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TestData

public TestData(java.lang.String data,
                Classification classification)
Creates a new TestData instance for the given string and classification.

Parameters:
data - the string which represents the test data
classification - the classification.
Method Detail

getClassification

public Classification getClassification()
Returns the classification assigned to this test data instance.

Returns:
the classification.

getData

public java.lang.String getData()
Returns the string representing the test data.

Returns:
the test data.