Datastructures
PHP Manual

The SplHeap class

Введение

The SplHeap class provides the main functionalities of an Heap.

Class synopsis

SplHeap
abstractSplHeap implements Iterator , Countable {
/* Methods */
__construct ( void )
abstractint compare ( mixed $value1 , mixed $value2 )
int count ( void )
mixed current ( void )
mixed extract ( void )
void insert ( mixed $value )
bool isEmpty ( void )
mixed key ( void )
void next ( void )
void recoverFromCorruption ( void )
void rewind ( void )
mixed top ( void )
bool valid ( void )
}

Содержание


Datastructures
PHP Manual