PHP Class PriorityQueue

Inheritance: implements Countable, implements IteratorAggregate
Afficher le fichier Open project: sjardim/Hugopit Class Usage Examples

Protected Properties

Свойство Type Description
$extractMode
$items
$queue

Méthodes publiques

Méthode Description
__clone ( )
__construct ( )
contains ( $data )
count ( )
extract ( )
getIterator ( )
hasPriority ( $priority )
insert ( $item, $priority )
isEmpty ( )
remove ( $item )
setExtractFlags ( $flags )
toArray ( $flag = self::EXTR_DATA )
top ( )

Method Details

__clone() public méthode

public __clone ( )

__construct() public méthode

public __construct ( )

contains() public méthode

public contains ( $data )

count() public méthode

public count ( )

extract() public méthode

public extract ( )

getIterator() public méthode

public getIterator ( )

hasPriority() public méthode

public hasPriority ( $priority )

insert() public méthode

public insert ( $item, $priority )

isEmpty() public méthode

public isEmpty ( )

remove() public méthode

public remove ( $item )

setExtractFlags() public méthode

public setExtractFlags ( $flags )

toArray() public méthode

public toArray ( $flag = self::EXTR_DATA )

top() public méthode

public top ( )

Property Details

$extractMode protected_oe property

protected $extractMode

$items protected_oe property

protected $items

$queue protected_oe property

protected $queue