public function FastPriorityQueue::rewind in Zircon Profile 8.0
Same name and namespace in other branches
- 8 vendor/zendframework/zend-stdlib/src/FastPriorityQueue.php \Zend\Stdlib\FastPriorityQueue::rewind()
Rewind the current iterator
1 call to FastPriorityQueue::rewind()
- FastPriorityQueue::remove in vendor/
zendframework/ zend-stdlib/ src/ FastPriorityQueue.php - Remove an item from the queue
File
- vendor/
zendframework/ zend-stdlib/ src/ FastPriorityQueue.php, line 234
Class
- FastPriorityQueue
- This is an efficient implementation of an integer priority queue in PHP
Namespace
Zend\StdlibCode
public function rewind() {
$this->subPriorities = $this->priorities;
$this->maxPriority = empty($this->priorities) ? 0 : max($this->priorities);
$this->index = 0;
$this->subIndex = 0;
}