Struktury danych
PHP Manual

The SplMaxHeap class

(PHP 5 >= 5.3.0)

Wstęp

The SplMaxHeap class provides the main functionalities of a heap, keeping the maximum on the top.

Krótki opis klasy

SplMaxHeap extends SplHeap implements Iterator , Countable {
/* Metody */
int compare ( mixed $value1 , mixed $value2 )
/* Metody dziedziczone */
abstract int SplHeap::compare ( mixed $value1 , mixed $value2 )
int SplHeap::count ( void )
mixed SplHeap::current ( void )
mixed SplHeap::extract ( void )
void SplHeap::insert ( mixed $value )
bool SplHeap::isEmpty ( void )
mixed SplHeap::key ( void )
void SplHeap::next ( void )
void SplHeap::rewind ( void )
mixed SplHeap::top ( void )
bool SplHeap::valid ( void )
}

Spis treści


Struktury danych
PHP Manual