php-internal-docs 8.4.8
Unofficial docs for php/php-src
Loading...
Searching...
No Matches
SplDoublyLinkedList Class Reference
Inheritance diagram for SplDoublyLinkedList:
Iterator Countable ArrayAccess Serializable Traversable SplQueue SplStack

Public Member Functions

 add (int $index, mixed $value)
 
 pop ()
 
 shift ()
 
 push (mixed $value)
 
 unshift (mixed $value)
 
 top ()
 
 bottom ()
 
 __debugInfo ()
 
 count ()
 
 isEmpty ()
 
 setIteratorMode (int $mode)
 
 getIteratorMode ()
 
 offsetExists ($index)
 
 offsetGet ($index)
 
 offsetSet ($index, mixed $value)
 
 offsetUnset ($index)
 
 rewind ()
 
 current ()
 
 key ()
 
 prev ()
 
 next ()
 
 valid ()
 
 unserialize (string $data)
 
 serialize ()
 
 __serialize ()
 
 __unserialize (array $data)
 
- Public Member Functions inherited from ArrayAccess
 offsetExists (mixed $offset)
 
 offsetGet (mixed $offset)
 
 offsetSet (mixed $offset, mixed $value)
 
 offsetUnset (mixed $offset)
 

Data Fields

const int IT_MODE_LIFO = UNKNOWN
 
const int IT_MODE_FIFO = UNKNOWN
 
const int IT_MODE_DELETE = UNKNOWN
 
const int IT_MODE_KEEP = UNKNOWN
 

Detailed Description

@generate-class-entries

Definition at line 5 of file spl_dllist.stub.php.

Member Function Documentation

◆ __debugInfo()

SplDoublyLinkedList::__debugInfo ( )

@tentative-return-type

Definition at line 38 of file spl_dllist.stub.php.

◆ __serialize()

SplDoublyLinkedList::__serialize ( )

@tentative-return-type

Definition at line 101 of file spl_dllist.stub.php.

◆ __unserialize()

SplDoublyLinkedList::__unserialize ( array $data)

@tentative-return-type

Definition at line 104 of file spl_dllist.stub.php.

◆ add()

SplDoublyLinkedList::add ( int $index,
mixed $value )

@tentative-return-type

Definition at line 17 of file spl_dllist.stub.php.

◆ bottom()

SplDoublyLinkedList::bottom ( )

@tentative-return-type

Definition at line 35 of file spl_dllist.stub.php.

◆ count()

SplDoublyLinkedList::count ( )

@tentative-return-type

Implements Countable.

Definition at line 41 of file spl_dllist.stub.php.

◆ current()

SplDoublyLinkedList::current ( )

@tentative-return-type

Implements Iterator.

Definition at line 80 of file spl_dllist.stub.php.

◆ getIteratorMode()

SplDoublyLinkedList::getIteratorMode ( )

@tentative-return-type

Definition at line 50 of file spl_dllist.stub.php.

◆ isEmpty()

SplDoublyLinkedList::isEmpty ( )

@tentative-return-type

Definition at line 44 of file spl_dllist.stub.php.

◆ key()

SplDoublyLinkedList::key ( )

@tentative-return-type

Implements Iterator.

Definition at line 83 of file spl_dllist.stub.php.

◆ next()

SplDoublyLinkedList::next ( )

@tentative-return-type

Implements Iterator.

Definition at line 89 of file spl_dllist.stub.php.

◆ offsetExists()

SplDoublyLinkedList::offsetExists ( $index)
Parameters
int$index@tentative-return-type

Definition at line 56 of file spl_dllist.stub.php.

◆ offsetGet()

SplDoublyLinkedList::offsetGet ( $index)
Parameters
int$index@tentative-return-type

Definition at line 62 of file spl_dllist.stub.php.

◆ offsetSet()

SplDoublyLinkedList::offsetSet ( $index,
mixed $value )
Parameters
int | null$index@tentative-return-type

Definition at line 68 of file spl_dllist.stub.php.

◆ offsetUnset()

SplDoublyLinkedList::offsetUnset ( $index)
Parameters
int$index@tentative-return-type

Definition at line 74 of file spl_dllist.stub.php.

◆ pop()

SplDoublyLinkedList::pop ( )

@tentative-return-type

Definition at line 20 of file spl_dllist.stub.php.

◆ prev()

SplDoublyLinkedList::prev ( )

@tentative-return-type

Definition at line 86 of file spl_dllist.stub.php.

◆ push()

SplDoublyLinkedList::push ( mixed $value)

@tentative-return-type

Definition at line 26 of file spl_dllist.stub.php.

◆ rewind()

SplDoublyLinkedList::rewind ( )

@tentative-return-type

Implements Iterator.

Definition at line 77 of file spl_dllist.stub.php.

◆ serialize()

SplDoublyLinkedList::serialize ( )

@tentative-return-type

Implements Serializable.

Definition at line 98 of file spl_dllist.stub.php.

◆ setIteratorMode()

SplDoublyLinkedList::setIteratorMode ( int $mode)

@tentative-return-type

Definition at line 47 of file spl_dllist.stub.php.

◆ shift()

SplDoublyLinkedList::shift ( )

@tentative-return-type

Definition at line 23 of file spl_dllist.stub.php.

◆ top()

SplDoublyLinkedList::top ( )

@tentative-return-type

Definition at line 32 of file spl_dllist.stub.php.

◆ unserialize()

SplDoublyLinkedList::unserialize ( string $data)

@tentative-return-type

Implements Serializable.

Definition at line 95 of file spl_dllist.stub.php.

◆ unshift()

SplDoublyLinkedList::unshift ( mixed $value)

@tentative-return-type

Definition at line 29 of file spl_dllist.stub.php.

◆ valid()

SplDoublyLinkedList::valid ( )

@tentative-return-type

Implements Iterator.

Definition at line 92 of file spl_dllist.stub.php.

Field Documentation

◆ IT_MODE_DELETE

const int SplDoublyLinkedList::IT_MODE_DELETE = UNKNOWN

@cvalue SPL_DLLIST_IT_DELETE

Definition at line 12 of file spl_dllist.stub.php.

◆ IT_MODE_FIFO

const int SplDoublyLinkedList::IT_MODE_FIFO = UNKNOWN

@cvalue SPL_DLLIST_IT_FIFO

Definition at line 10 of file spl_dllist.stub.php.

◆ IT_MODE_KEEP

const int SplDoublyLinkedList::IT_MODE_KEEP = UNKNOWN

@cvalue SPL_DLLIST_IT_KEEP

Definition at line 14 of file spl_dllist.stub.php.

◆ IT_MODE_LIFO

const int SplDoublyLinkedList::IT_MODE_LIFO = UNKNOWN

@cvalue SPL_DLLIST_IT_LIFO

Definition at line 8 of file spl_dllist.stub.php.


The documentation for this class was generated from the following file: