Environment for
DeveLoping
KDD-Applications
Supported by Index-Structures

de.lmu.ifi.dbs.elki.parser
Class ParsingResult<O extends DatabaseObject>

java.lang.Object
  extended by de.lmu.ifi.dbs.elki.parser.ParsingResult<O>
Type Parameters:
O - object type
Direct Known Subclasses:
DistanceParsingResult

public class ParsingResult<O extends DatabaseObject>
extends Object

Provides a list of database objects and labels associated with these objects.

Author:
Elke Achtert

Field Summary
private  List<Pair<O,List<String>>> objectAndLabelList
          The list of database objects and labels associated with these objects.
 
Constructor Summary
ParsingResult(List<Pair<O,List<String>>> objectAndLabelList)
          Provides a list of database objects and labels associated with these objects.
 
Method Summary
 List<Pair<O,List<String>>> getObjectAndLabelList()
          Returns the list of database objects and labels associated with these objects.
 int size()
          Provides the number of objects listed in this parsing result.
 String toString()
          Returns a string representation of the object.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

objectAndLabelList

private final List<Pair<O extends DatabaseObject,List<String>>> objectAndLabelList
The list of database objects and labels associated with these objects.

Constructor Detail

ParsingResult

public ParsingResult(List<Pair<O,List<String>>> objectAndLabelList)
Provides a list of database objects and labels associated with these objects.

Parameters:
objectAndLabelList - the list of database objects and labels associated with these objects
Method Detail

getObjectAndLabelList

public List<Pair<O,List<String>>> getObjectAndLabelList()
Returns the list of database objects and labels associated with these objects.

Returns:
the list of database objects and labels associated with these objects

toString

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

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

size

public int size()
Provides the number of objects listed in this parsing result.

Returns:
the number of objects listed in this parsing result

Release 0.2 (2009-07-06_1820)