Example #1
0
 /**
  * Constructor.
  */
 public function __construct()
 {
     parent::__construct();
 }
Example #2
0
 public function __construct($debug = FALSE)
 {
     parent::__construct();
     $this->size = 0;
 }
Example #3
0
File: LIFO.php Project: philip/Buzz
 public function __construct()
 {
     parent::__construct('array_push', 'array_pop');
 }
Example #4
0
 /**
  * Constructs a QueueAsArray with the given size.
  *
  * @param integer $size The size of this queue.
  */
 public function __construct($size = 0)
 {
     parent::__construct();
     $this->array = new BasicArray($size);
     $this->head = 0;
     $this->tail = $size - 1;
 }
Example #5
0
 /**
  * Constructs a QueueAsLinkedList.
  */
 public function __construct()
 {
     parent::__construct();
     $this->list = new LinkedList();
 }