
E - the type of Entry used in the indexpublic interface Node<E extends Entry> extends Page
| Modifier and Type | Method and Description | 
|---|---|
int | 
addDirectoryEntry(E entry)
Adds a new directory entry to this node's children and returns the index of
 the entry in this node's children array. 
 | 
int | 
addLeafEntry(E entry)
Adds a new leaf entry to this node's children and returns the index of the
 entry in this node's children array. 
 | 
Enumeration<IndexTreePath<E>> | 
children(IndexTreePath<E> parentPath)
Returns an enumeration of the children paths of this node. 
 | 
E | 
getEntry(int index)
Returns the entry at the specified index. 
 | 
int | 
getNumEntries()
Returns the number of entries of this node. 
 | 
boolean | 
isLeaf()
Returns true if this node is a leaf node, false otherwise. 
 | 
Enumeration<IndexTreePath<E>> children(IndexTreePath<E> parentPath)
parentPath - the path to this nodeint getNumEntries()
boolean isLeaf()
E getEntry(int index)
index - the index of the entry to be returnedint addLeafEntry(E entry)
entry - the leaf entry to be addedUnsupportedOperationException - if entry is not a leaf entry or this
         node is not a leaf nodeint addDirectoryEntry(E entry)
entry - the directory entry to be addedUnsupportedOperationException - if entry is not a directory entry or
         this node is not a directory nodeCopyright © 2015 ELKI Development Team, Lehr- und Forschungseinheit für Datenbanksysteme, Ludwig-Maximilians-Universität München. License information.