Searched refs:splayTree (Results 1 – 2 of 2) sorted by relevance
46 var splayTree = null; variable76 } while (splayTree.find(key) != null);78 splayTree.insert(key, payload);85 splayTree = new SplayTree();94 var keys = splayTree.exportKeys();95 splayTree = null;116 var greatest = splayTree.findGreatestLessThan(key);117 if (greatest == null) splayTree.remove(key);118 else splayTree.remove(greatest.key);
59 var splayTree = void 0; variable159 do { key = GenerateKey(); } while (splayTree.find(key) != null);168 splayTree.insert(key, point);184 var greatest = splayTree.findGreatestLessThan(key);186 var point = splayTree.remove(key).value;188 var point = splayTree.remove(greatest.key).value;480 splayTree = new SplayTree();