PHP Portal » PHP Handbuch » The SplPriorityQueue class

Werbung

The SplPriorityQueue class


Einführung

The SplPriorityQueue class provides the main functionalities of an prioritized queue, implemented using a heap.

Klassenbeschreibung

SplPriorityQueue
SplPriorityQueue implements Iterator , Countable {
/* Methods */
__construct ( void )
void compare ( mixed $priority1 , mixed $priority2 )
int count ( void )
mixed current ( void )
mixed extract ( void )
void insert ( mixed $value , mixed $priority )
bool isEmpty ( void )
mixed key ( void )
void next ( void )
void recoverFromCorruption ( void )
void rewind ( void )
void setExtractFlags ( int $flags )
mixed top ( void )
bool valid ( void )
}

Inhaltsverzeichnis