php-internal-docs 8.4.8
Unofficial docs for php/php-src
Loading...
Searching...
No Matches
SplHeap Class Reference
Inheritance diagram for SplHeap:
Iterator Countable Traversable SplMaxHeap SplMinHeap

Public Member Functions

 extract ()
 
 insert (mixed $value)
 
 top ()
 
 count ()
 
 isEmpty ()
 
 rewind ()
 
 current ()
 
 key ()
 
 next ()
 
 valid ()
 
 recoverFromCorruption ()
 
 isCorrupted ()
 
 __debugInfo ()
 

Protected Member Functions

 compare (mixed $value1, mixed $value2)
 

Detailed Description

Definition at line 87 of file spl_heap.stub.php.

Member Function Documentation

◆ __debugInfo()

SplHeap::__debugInfo ( )

@tentative-return-type

Definition at line 129 of file spl_heap.stub.php.

◆ compare()

SplHeap::compare ( mixed $value1,
mixed $value2 )
abstractprotected

@tentative-return-type

Reimplemented in SplMaxHeap, and SplMinHeap.

◆ count()

SplHeap::count ( )

@tentative-return-type

Implements Countable.

Definition at line 99 of file spl_heap.stub.php.

◆ current()

SplHeap::current ( )

@tentative-return-type

Implements Iterator.

Definition at line 108 of file spl_heap.stub.php.

◆ extract()

SplHeap::extract ( )

@tentative-return-type

Definition at line 90 of file spl_heap.stub.php.

◆ insert()

SplHeap::insert ( mixed $value)

@tentative-return-type

Definition at line 93 of file spl_heap.stub.php.

◆ isCorrupted()

SplHeap::isCorrupted ( )

@tentative-return-type

Definition at line 126 of file spl_heap.stub.php.

◆ isEmpty()

SplHeap::isEmpty ( )

@tentative-return-type

Definition at line 102 of file spl_heap.stub.php.

◆ key()

SplHeap::key ( )

@tentative-return-type

Implements Iterator.

Definition at line 111 of file spl_heap.stub.php.

◆ next()

SplHeap::next ( )

@tentative-return-type

Implements Iterator.

Definition at line 114 of file spl_heap.stub.php.

◆ recoverFromCorruption()

SplHeap::recoverFromCorruption ( )

@tentative-return-type

Definition at line 120 of file spl_heap.stub.php.

◆ rewind()

SplHeap::rewind ( )

@tentative-return-type

Implements Iterator.

Definition at line 105 of file spl_heap.stub.php.

◆ top()

SplHeap::top ( )

@tentative-return-type

Definition at line 96 of file spl_heap.stub.php.

◆ valid()

SplHeap::valid ( )

@tentative-return-type

Implements Iterator.

Definition at line 117 of file spl_heap.stub.php.


The documentation for this class was generated from the following file: