Пример #1
0
 public function __construct(AbstractBinaryTree $root = NULL)
 {
     $this->stack = new \SplStack();
     parent::__construct($root);
 }
Пример #2
0
 public function __construct(AbstractBinaryTree $root = NULL)
 {
     parent::__construct($root);
 }
Пример #3
0
 public function __construct(AbstractBinaryTree $root = NULL)
 {
     $this->queue = new \SplQueue();
     parent::__construct($root);
 }