|
|
|||||||||||||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object de.lmu.ifi.dbs.elki.parser.ObjectAndLabels<O>
public class ObjectAndLabels<O extends DatabaseObject>
Provides a single database objects and a list of labels associated with this object.
Field Summary | |
---|---|
private List<String> |
labels
The list of labels associated with the database objects. |
private O |
object
The database object. |
Constructor Summary | |
---|---|
ObjectAndLabels(O object,
List<String> labels)
Provides a single database object and a list of labels associated with this object. |
Method Summary | |
---|---|
List<String> |
getLabels()
Returns the list of string labels associated with the database object. |
O |
getObject()
Returns the database object. |
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 |
---|
private final O extends DatabaseObject object
private final List<String> labels
Constructor Detail |
---|
public ObjectAndLabels(O object, List<String> labels)
object
- the database objectlabels
- the list of string labels associated with this objectMethod Detail |
---|
public O getObject()
public List<String> getLabels()
public String toString()
toString
in class Object
|
|
||||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |