|
|
|||||||||||||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectde.lmu.ifi.dbs.elki.algorithm.clustering.OPTICS.COEntry
public class OPTICS.COEntry
Encapsulates an entry in the cluster order.
Field Summary | |
---|---|
Integer |
objectID
The id of the entry. |
(package private) Integer |
predecessorID
The id of the entry's predecessor. |
Constructor Summary | |
---|---|
OPTICS.COEntry(Integer objectID,
Integer predecessorID)
Creates a new entry with the specified parameters. |
Method Summary | |
---|---|
int |
compareTo(Identifiable<OPTICS.COEntry> o)
Compares this object with the specified object for order. |
boolean |
equals(Object o)
Indicates whether some other object is "equal to" this one. |
Integer |
getID()
Returns the unique id of this object. |
int |
hashCode()
Returns a hash code value for the object. |
String |
toString()
Returns a string representation of the object. |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public Integer objectID
Integer predecessorID
Constructor Detail |
---|
public OPTICS.COEntry(Integer objectID, Integer predecessorID)
objectID
- the id of the entrypredecessorID
- the id of the entry's predecessorMethod Detail |
---|
public int compareTo(Identifiable<OPTICS.COEntry> o)
compareTo
in interface Comparable<Identifiable<OPTICS.COEntry>>
o
- the Object to be compared.
public String toString()
toString
in class Object
public boolean equals(Object o)
equals
in class Object
o
- the reference object with which to compare.
true
if this object is the same as the obj
argument; false
otherwise.public int hashCode()
java.util.Hashtable
.
hashCode
in class Object
public Integer getID()
getID
in interface Identifiable<OPTICS.COEntry>
|
|
||||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |