Untitled
unknown
plain_text
3 years ago
430 B
10
Indexable
// find leaf node to put into
int numKeys = this.keys.size();
for (int i = 0; i < numKeys; i++) {
if (key.getLong() < this.keys.get(i).getLong()) {
Long leafPageNum = this.keys.get(i).getLong();
break;
}
}
// put into leaf node
// insert new item into this inner node if necessary
// split this node and move up if necessaryEditor is loading...