Beispiel #1
0
 /**
  * Constructor.
  */
 public function __construct()
 {
     parent::__construct();
 }
Beispiel #2
0
 public function __construct($debug = FALSE)
 {
     parent::__construct();
     $this->size = 0;
 }
Beispiel #3
0
 public function __construct()
 {
     parent::__construct('array_push', 'array_pop');
 }
Beispiel #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;
 }
 /**
  * Constructs a QueueAsLinkedList.
  */
 public function __construct()
 {
     parent::__construct();
     $this->list = new LinkedList();
 }