The SplHeap class

(PHP 5 >= 5.3.0, PHP 7)

Introducere

The SplHeap class provides the main functionalities of a Heap.

Sinopsisul clasei

abstract SplHeap implements Iterator , Countable {
/* Metode */
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
}

Cuprins