Structuri de date
PHP Manual

The SplDoublyLinkedList class

(PHP 5 >= 5.3.0)

Introducere

The SplDoublyLinkedList class provides the main functionalities of a doubly linked list.

Sinopsisul clasei

SplDoublyLinkedList implements Iterator , ArrayAccess , Countable {
/* Metode */
public __construct ( void )
public void add ( mixed $index , mixed $newval )
public mixed bottom ( void )
public int count ( void )
public mixed current ( void )
public int getIteratorMode ( void )
public bool isEmpty ( void )
public mixed key ( void )
public void next ( void )
public bool offsetExists ( mixed $index )
public mixed offsetGet ( mixed $index )
public void offsetSet ( mixed $index , mixed $newval )
public void offsetUnset ( mixed $index )
public mixed pop ( void )
public void prev ( void )
public void push ( mixed $value )
public void rewind ( void )
public string serialize ( void )
public void setIteratorMode ( int $mode )
public mixed shift ( void )
public mixed top ( void )
public void unserialize ( string $serialized )
public void unshift ( mixed $value )
public bool valid ( void )
}

Cuprins


Structuri de date
PHP Manual