La clase SplHeap

(PHP 5 >= 5.3.0, PHP 7)

Introducción

La clase SplHeap proporciona la funcionalidad principal de un montículo.

Sinopsis de la Clase

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

Tabla de contenidos