SPL
PHP Manual

The SplPriorityQueue class

Introduction

The SplPriorityQueue class provides the main functionalities of an prioritized queue, implemented using a heap.

Synopsis de la classe

SplPriorityQueue
SplPriorityQueue implements Iterator , Countable {
/* Methods */
void SplPriorityQueue::compare ( mixed $priority1 , mixed $priority1 )
void SplPriorityQueue::insert ( mixed $value , mixed $priority )
mixed SplPriorityQueue::key ( void )
void SplPriorityQueue::next ( void )
mixed SplPriorityQueue::top ( void )
}

Sommaire


SPL
PHP Manual