Untitled
unknown
plain_text
2 years ago
430 B
4
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 necessary
Editor is loading...