PHP Class PriorityQueue

Inheritance: implements Countable, implements IteratorAggregate
Mostra file Open project: sjardim/Hugopit Class Usage Examples

Protected Properties

Property Type Description
$extractMode
$items
$queue

Public Methods

Method 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 method

public __clone ( )

__construct() public method

public __construct ( )

contains() public method

public contains ( $data )

count() public method

public count ( )

extract() public method

public extract ( )

getIterator() public method

public getIterator ( )

hasPriority() public method

public hasPriority ( $priority )

insert() public method

public insert ( $item, $priority )

isEmpty() public method

public isEmpty ( )

remove() public method

public remove ( $item )

setExtractFlags() public method

public setExtractFlags ( $flags )

toArray() public method

public toArray ( $flag = self::EXTR_DATA )

top() public method

public top ( )

Property Details

$extractMode protected_oe property

protected $extractMode

$items protected_oe property

protected $items

$queue protected_oe property

protected $queue