Пример #1
0
 /**
  * Destructor.
  */
 public function __destruct()
 {
     $this->node = NULL;
     parent::__destruct();
 }
Пример #2
0
 /**
  * Destructor.
  */
 public function __destruct()
 {
     $this->graph = NULL;
     parent::__destruct();
 }
Пример #3
0
 public function __destruct()
 {
     $this->tree = NULL;
     $this->stack = NULL;
     parent::__destruct();
 }
Пример #4
0
 /**
  * Destructor.
  */
 public function __destruct()
 {
     $this->hashTable = NULL;
     parent::__destruct();
 }
Пример #5
0
 /**
  * Destructor.
  */
 public function __destruct()
 {
     $this->set = NULL;
     $this->element = NULL;
     parent::__destruct();
 }
Пример #6
0
 /**
  * Destructor.
  */
 public function __destruct()
 {
     $this->vertex = NULL;
     $this->edgeIterator = NULL;
     parent::__destruct();
 }
Пример #7
0
 /**
  * Destructor.
  */
 public function __destruct()
 {
     parent::__destruct();
     $this->queue = NULL;
     $this->position = NULL;
 }
Пример #8
0
    /**
     * Returns the next object to be enumerated by this iterator.
     * Returns NULL when there are no more objects.
     *
     * @return mixed The next object to be enumerated.
     */
    public function succ()
    {
        $result = NULL;
        if ($this->valid()) {
            $result = $this->current();
            $this->next();
        }
        return $result;
    }
    /**
     * Main program.
     *
     * @param array $args Command-line arguments.
     * @return integer Zero on success; non-zero on failure.
     */
    public static function main($args)
    {
        printf("AbstractIterator main program.\n");
        $status = 0;
        return $status;
    }
}
if (realpath($argv[0]) == realpath(__FILE__)) {
    exit(AbstractIterator::main(array_slice($argv, 1)));
}