コード例 #1
0
 /**
  * Constructor.
  */
 public function __construct()
 {
     parent::__construct();
 }
コード例 #2
0
ファイル: BinaryHeap.php プロジェクト: EdenChan/Instances
 /**
  * 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);
 }