Modifier and Type | Field and Description |
---|---|
private E |
entry
The entry of this component.
|
private int |
index
The index of this component in its parent.
|
private IndexTreePath<E> |
parentPath
Path representing the parent, null if lastPathComponent represents the
root.
|
Constructor and Description |
---|
IndexTreePath(IndexTreePath<E> parent,
E entry,
int index)
Constructs a new IndexPath.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
E |
getEntry()
Returns the entry of the component.
|
int |
getIndex()
Returns the index of the component in its parent.
|
IndexTreePath<E> |
getParentPath()
Returns a path containing all the elements of this object, except the last
path component.
|
int |
getPathCount()
Returns the number of elements in the path.
|
String |
toString()
Returns a string that displays the components of this index path.
|
private IndexTreePath<E extends Entry> parentPath
private final int index
public IndexTreePath(IndexTreePath<E> parent, E entry, int index)
parent
- the parent pathentry
- the entry of the componentindex
- index of the component in its parentpublic E getEntry()
public int getIndex()
public int getPathCount()
public IndexTreePath<E> getParentPath()
Copyright © 2015 ELKI Development Team, Lehr- und Forschungseinheit für Datenbanksysteme, Ludwig-Maximilians-Universität München. License information.