Datastructures
PHP Manual

The SplHeap class

(PHP 5 >= 5.3.0)

Giriş

The SplHeap class provides the main functionalities of a Heap.

Sınıf Sözdizimi

abstract SplHeap implements Iterator , Countable {
/* Yöntemler */
__construct ( void )
abstract int 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 )
}

İçindekiler


Datastructures
PHP Manual