|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object pt.ist.fenixframework.core.AbstractDomainObject pt.ist.fenixframework.core.adt.bplustree.AbstractNodeArray_Base pt.ist.fenixframework.core.adt.bplustree.AbstractNodeArray pt.ist.fenixframework.core.adt.bplustree.InnerNodeArray_Base pt.ist.fenixframework.core.adt.bplustree.InnerNodeArray
public class InnerNodeArray
Inner node of a B+-Tree. These nodes do not contain elements. They only contain M keys (ordered) and M+1 sub-nodes (M > 0). The n-th sub-node will contain elements whose keys are all less than the n-th key, except for the last sub-node (L) which will contain elements whose keys will be greater than or equal to the M-th key.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class pt.ist.fenixframework.core.AbstractDomainObject |
---|
AbstractDomainObject.SerializedForm |
Field Summary |
---|
Fields inherited from class pt.ist.fenixframework.core.adt.bplustree.AbstractNodeArray_Base |
---|
NodeArrayHasParent, role$$parent |
Method Summary | |
---|---|
boolean |
containsKey(Comparable key)
Returns true if this map contains a mapping for the specified key. |
String |
dump(int level,
boolean dumpKeysOnly,
boolean dumpNodeIds)
|
AbstractDomainObject |
get(Comparable key)
Returns the value to which the specified key is mapped, or null if this map contains no mapping for the key. |
AbstractDomainObject |
getIndex(int index)
Returns the value at the given index |
AbstractNodeArray |
insert(Comparable key,
AbstractDomainObject value)
Inserts the given key-value pair and returns the (possibly new) root node |
Iterator |
iterator()
|
AbstractNodeArray |
remove(Comparable key)
Removes the element with the given key |
AbstractNodeArray |
removeIndex(int index)
Returns the value that was removed from the given index |
int |
size()
Returns the number os key-value mappings in this map |
Methods inherited from class pt.ist.fenixframework.core.adt.bplustree.InnerNodeArray_Base |
---|
getSubNodes, setSubNodes |
Methods inherited from class pt.ist.fenixframework.core.adt.bplustree.AbstractNodeArray |
---|
externalizeArrays, internalizeArrays |
Methods inherited from class pt.ist.fenixframework.core.adt.bplustree.AbstractNodeArray_Base |
---|
getParent, hasParent, removeParent, setParent |
Methods inherited from class pt.ist.fenixframework.core.AbstractDomainObject |
---|
ensureOid, equals, getExternalId, getOid, hashCode, makeSerializedForm, toString, writeReplace |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Method Detail |
---|
public AbstractNodeArray insert(Comparable key, AbstractDomainObject value)
AbstractNodeArray
public AbstractNodeArray remove(Comparable key)
AbstractNodeArray
public AbstractDomainObject get(Comparable key)
AbstractNodeArray
null
if this map contains no mapping for the key.
public AbstractDomainObject getIndex(int index)
AbstractNodeArray
public AbstractNodeArray removeIndex(int index)
AbstractNodeArray
public boolean containsKey(Comparable key)
AbstractNodeArray
true
if this map contains a mapping for the specified key.
public int size()
AbstractNodeArray
public Iterator iterator()
public String dump(int level, boolean dumpKeysOnly, boolean dumpNodeIds)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |