Esempio n. 1
0
 /**
  * @return mixed
  */
 function firstKey()
 {
     return $this->avl->first()->first;
 }
Esempio n. 2
0
 /**
  * @return mixed
  * @throws EmptyException when the tree is empty
  */
 function first()
 {
     return $this->bst->first();
 }
Esempio n. 3
0
 /**
  * @return mixed
  * @throws EmptyException when the tree is empty
  */
 function first()
 {
     return $this->avl->first();
 }