|
|
|||||||||
| 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>
E - the type of Entry used in the indexpublic 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 this component. |
private Integer |
index
The index of this component in its parent. |
| Constructor Summary | |
|---|---|
TreeIndexPathComponent(E entry,
Integer index)
Creates a new IndexPathComponent. |
|
| Method Summary | |
|---|---|
boolean |
equals(Object o)
Returns true if this == o has the value
true or o is not null and o is of the same class as this
instance and if the entry of this component equals the entry of the o
argument, false otherwise. |
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 component. |
String |
toString()
Returns a string representation of this component. |
| 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)
true if this == o has the value
true or o is not null and o is of the same class as this
instance and if the entry of this component equals the entry of the o
argument, false otherwise.
equals in class Objectpublic 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 | |||||||||||