Structuri de date
PHP Manual

The SplHeap class

(PHP 5 >= 5.3.0)

Introducere

The SplHeap class provides the main functionalities of a Heap.

Sinopsisul clasei

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

Cuprins


Structuri de date
PHP Manual