You are here

public function PriorityQueue::count in Zircon Profile 8.0

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

How many items are in the queue?

Return value

int

1 call to PriorityQueue::count()
PriorityQueue::isEmpty in vendor/zendframework/zend-stdlib/src/PriorityQueue.php
Is the queue empty?

File

vendor/zendframework/zend-stdlib/src/PriorityQueue.php, line 128

Class

PriorityQueue
Re-usable, serializable priority queue implementation

Namespace

Zend\Stdlib

Code

public function count() {
  return count($this->items);
}