/**
  * Constructor.
  */
 public function __construct()
 {
     parent::__construct();
 }
Exemple #2
0
 /**
  * Constructs a BinaryHeap with the given size.
  *
  * @param integer $size The size of this queue.
  */
 public function __construct($size = 0)
 {
     parent::__construct();
     $this->array = new BasicArray($size, 1);
 }