Package org.grp1.index
Class Node
java.lang.Object
org.grp1.index.Node
- All Implemented Interfaces:
NodeChild
- Direct Known Subclasses:
InternalNode,LeafNode
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract voiddelete(int index) abstract NodeChildgetChildAsNodeChild(int index) abstract intgetKeyByIndex(int index) abstract voidabstract booleanisFull()abstract voidsetParent(InternalNode node) abstract intsize()
-
Constructor Details
-
Node
public Node()
-
-
Method Details
-
isFull
public abstract boolean isFull() -
size
public abstract int size() -
insert
- Throws:
LeafFullException
-
setParent
-
delete
public abstract void delete(int index) -
getKeyByIndex
public abstract int getKeyByIndex(int index) -
getChildAsNodeChild
-