|
|
|||||||||||||||||||||
| 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 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 which is the hash code of the objectID of this 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 predecessor| Method Detail |
|---|
public int compareTo(Identifiable o)
o - the Object to be compared.
public String toString()
toString in class Objectpublic boolean equals(Object o)
true if and only if the argument is not
null and is an COEntry object and
objectID.equals(((COEntry) o).objectID)
returns true.
equals in class Objecto - the object to compare with
true if the specified object is equal to this one,
false otherwise.public int hashCode()
objectID of this object.
hashCode in class ObjectobjectID of this objectpublic Integer getID()
getID in interface Identifiable
|
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||