/** * @return mixed */ function firstKey() { return $this->avl->first()->first; }
/** * @return mixed * @throws EmptyException when the tree is empty */ function first() { return $this->bst->first(); }
/** * @return mixed * @throws EmptyException when the tree is empty */ function first() { return $this->avl->first(); }