The SplHeap classIntroductionThe SplHeap class provides the main functionalities of a Heap. Class synopsis
abstract
SplHeap
implements
Iterator
Countable
/* Methods */
protected int compare(mixed
$value1 , mixed $value2 )public int count()
public mixed current()
public mixed extract()
public true insert(mixed
$value )public bool isCorrupted()
public bool isEmpty()
public int key()
public void next()
public bool recoverFromCorruption()
public void rewind()
public mixed top()
public bool valid()
|