You are here

public function FastPriorityQueue::key in Zircon Profile 8.0

Same name and namespace in other branches
  1. 8 vendor/zendframework/zend-stdlib/src/FastPriorityQueue.php \Zend\Stdlib\FastPriorityQueue::key()

Get the index of the current element in the queue

Return value

integer

File

vendor/zendframework/zend-stdlib/src/FastPriorityQueue.php, line 183

Class

FastPriorityQueue
This is an efficient implementation of an integer priority queue in PHP

Namespace

Zend\Stdlib

Code

public function key() {
  return $this->index;
}