org.neodatis.btree.impl.multiplevalue
Class InMemoryBTreeNodeMultipleValuesPerKey
java.lang.Object
org.neodatis.btree.impl.AbstractBTreeNode
org.neodatis.btree.impl.multiplevalue.BTreeNodeMultipleValuesPerKey
org.neodatis.btree.impl.multiplevalue.InMemoryBTreeNodeMultipleValuesPerKey
- All Implemented Interfaces:
- java.io.Serializable, IBTreeNode, IBTreeNodeMultipleValuesPerKey
public class InMemoryBTreeNodeMultipleValuesPerKey
- extends BTreeNodeMultipleValuesPerKey
- See Also:
- Serialized Form
Methods inherited from class org.neodatis.btree.impl.AbstractBTreeNode |
clear, deleteKeyAndValueAt, extractRightPart, getBTree, getDegree, getKeyAndValueAt, getKeyAt, getLastChild, getLastKeyAndValue, getLastPositionChild, getMaxNbChildren, getMedian, getNbChildren, getNbKeys, getPositionOfKey, incrementNbChildren, incrementNbKeys, isFull, isLeaf, leftShiftFrom, mergeWith, removeKeyAndValueAt, rightShiftFrom, setBTree, setKeyAndValueAt, setKeyAndValueAt, setKeyAndValueAt, setKeyAndValueAt, setNbChildren, setNbKeys, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface org.neodatis.btree.IBTreeNode |
clear, deleteKeyAndValueAt, extractRightPart, getBTree, getDegree, getKeyAndValueAt, getKeyAt, getLastChild, getLastKeyAndValue, getLastPositionChild, getMaxNbChildren, getMedian, getNbChildren, getNbKeys, getPositionOfKey, incrementNbChildren, incrementNbKeys, isFull, isLeaf, mergeWith, removeKeyAndValueAt, setBTree, setKeyAndValueAt, setKeyAndValueAt, setKeyAndValueAt, setKeyAndValueAt, setNbChildren, setNbKeys |
nextId
protected static int nextId
id
protected java.lang.Integer id
children
protected IBTreeNode[] children
parent
protected IBTreeNode parent
InMemoryBTreeNodeMultipleValuesPerKey
public InMemoryBTreeNodeMultipleValuesPerKey(IBTree btree)
getChildAt
public IBTreeNode getChildAt(int index,
boolean throwExceptionIfNotExist)
- Specified by:
getChildAt
in interface IBTreeNode
- Specified by:
getChildAt
in class AbstractBTreeNode
getParent
public IBTreeNode getParent()
- Specified by:
getParent
in interface IBTreeNode
- Specified by:
getParent
in class AbstractBTreeNode
setChildAt
public void setChildAt(IBTreeNode child,
int index)
setChildAt
public void setChildAt(IBTreeNode node,
int childIndex,
int index,
boolean throwExceptionIfDoesNotExist)
setParent
public void setParent(IBTreeNode node)
- Specified by:
setParent
in interface IBTreeNode
- Specified by:
setParent
in class AbstractBTreeNode
hasParent
public boolean hasParent()
- Specified by:
hasParent
in interface IBTreeNode
- Specified by:
hasParent
in class AbstractBTreeNode
init
protected void init()
- Specified by:
init
in class AbstractBTreeNode
getId
public java.lang.Object getId()
setId
public void setId(java.lang.Object id)
deleteChildAt
public void deleteChildAt(int index)
moveChildFromTo
public void moveChildFromTo(int sourceIndex,
int destinationIndex,
boolean throwExceptionIfDoesNotExist)
- Specified by:
moveChildFromTo
in interface IBTreeNode
- Specified by:
moveChildFromTo
in class AbstractBTreeNode
setNullChildAt
public void setNullChildAt(int childIndex)
getChildIdAt
public java.lang.Object getChildIdAt(int childIndex,
boolean throwExceptionIfDoesNotExist)
getParentId
public java.lang.Object getParentId()
- Specified by:
getParentId
in interface IBTreeNode
- Specified by:
getParentId
in class AbstractBTreeNode
getValueAsObjectAt
public java.lang.Object getValueAsObjectAt(int index)