|
|
|||||||||||||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||||||||||||
java.lang.Objectde.lmu.ifi.dbs.elki.index.tree.TreeIndexPathComponent<E>
public class TreeIndexPathComponent<E extends Entry>
Represents a component in an IndexPath. A component in an IndexPath consists of the entry of the index (representing a node or a data object) and the index of the component in its parent.
| Field Summary | |
|---|---|
private E |
entry
The entry of the component. |
private Integer |
index
The index of the component in its parent. |
| Constructor Summary | |
|---|---|
TreeIndexPathComponent(E entry,
Integer index)
Creates a new IndexPathComponent. |
|
| Method Summary | |
|---|---|
boolean |
equals(Object o)
Indicates whether some other object is "equal to" this one. |
E |
getEntry()
Returns the entry of the component. |
Integer |
getIndex()
Returns the index of the component in its parent. |
int |
hashCode()
Returns a hash code for 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 |
|---|
private E extends Entry entry
private Integer index
| Constructor Detail |
|---|
public TreeIndexPathComponent(E entry,
Integer index)
entry - the entry of the componentindex - index of the component in its parent| Method Detail |
|---|
public E getEntry()
public Integer getIndex()
public boolean equals(Object o)
equals in class Objecto - the reference object with which to compare
true if the identifier of this component equals
the identifier of the o argument; false otherwise.public int hashCode()
hashCode in class Objectpublic String toString()
toString in class Object
|
|
||||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||||