SplStack::setIteratorMode
SplQueue::__construct
Struktury danych
PHP Manual

# The SplQueue class

## Wstęp

The SplQueue class provides the main functionalities of a queue implemented using a doubly linked list.

## Krótki opis klasy

SplQueue
SplQueue extends SplDoublyLinkedList implements Iterator , ArrayAccess , Countable {
/* Metody */
__construct ( void )
mixed dequeue ( void )
void enqueue ( mixed `$value` )
void setIteratorMode ( int `$mode` )
/* Metody dziedziczone */
mixed SplDoublyLinkedList::bottom ( void )
int SplDoublyLinkedList::count ( void )
mixed SplDoublyLinkedList::current ( void )
int SplDoublyLinkedList::getIteratorMode ( void )
bool SplDoublyLinkedList::isEmpty ( void )
mixed SplDoublyLinkedList::key ( void )
void SplDoublyLinkedList::next ( void )
bool SplDoublyLinkedList::offsetExists ( mixed `$index` )
mixed SplDoublyLinkedList::offsetGet ( mixed `$index` )
void SplDoublyLinkedList::offsetSet ( mixed `$index` , mixed `$newval` )
void SplDoublyLinkedList::offsetUnset ( mixed `$index` )
mixed SplDoublyLinkedList::pop ( void )
void SplDoublyLinkedList::prev ( void )
void SplDoublyLinkedList::push ( mixed `$value` )
void SplDoublyLinkedList::rewind ( void )
void SplDoublyLinkedList::setIteratorMode ( int `$mode` )
mixed SplDoublyLinkedList::shift ( void )
mixed SplDoublyLinkedList::top ( void )
void SplDoublyLinkedList::unshift ( mixed `$value` )
bool SplDoublyLinkedList::valid ( void )
}

## Spis treści

- SplQueue::__construct — Constructs a new queue implemented using a doubly linked list
- SplQueue::dequeue — Dequeues a node from the queue
- SplQueue::enqueue — Adds an element to the queue.
- SplQueue::setIteratorMode — Sets the mode of iteration

SplStack::setIteratorMode
SplQueue::__construct
Struktury danych
PHP Manual