Lines Matching refs:SplayTree
85 splayTree = new SplayTree();
131 function SplayTree() { class
141 SplayTree.prototype.root_ = null;
147 SplayTree.prototype.isEmpty = function() {
160 SplayTree.prototype.insert = function(key, value) {
162 this.root_ = new SplayTree.Node(key, value);
171 var node = new SplayTree.Node(key, value);
193 SplayTree.prototype.remove = function(key) {
224 SplayTree.prototype.find = function(key) {
236 SplayTree.prototype.findMax = function(opt_startNode) {
252 SplayTree.prototype.findGreatestLessThan = function(key) {
274 SplayTree.prototype.exportKeys = function() {
293 SplayTree.prototype.splay_ = function(key) {
303 dummy = left = right = new SplayTree.Node(null, null);
361 SplayTree.Node = function(key, value) {
370 SplayTree.Node.prototype.left = null;
376 SplayTree.Node.prototype.right = null;
386 SplayTree.Node.prototype.traverse_ = function(f) {