Datastructures
PHP Manual

The SplHeap class

(PHP 5 >= 5.3.0)

Introdução

The SplHeap class provides the main functionalities of a Heap.

Sinopse da classe

abstract SplHeap implements Iterator , Countable {
/* Métodos */
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 )
}

Índice


Datastructures
PHP Manual