/** * Constructor. */ public function __construct() { parent::__construct(); }
/** * 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); }