C# Class PrioQueue, code

Datei anzeigen Open project: shendongnian/code Class Usage Examples

Public Methods

Method Description
Dequeue ( ) : object
Dequeue ( int prio ) : object
Enqueue ( object item, int prio ) : void
IsEmpty ( ) : bool
Peek ( ) : object
PrioQueue ( )

Method Details

Dequeue() public method

public Dequeue ( ) : object
return object

Dequeue() public method

public Dequeue ( int prio ) : object
prio int
return object

Enqueue() public method

public Enqueue ( object item, int prio ) : void
item object
prio int
return void

IsEmpty() public method

public IsEmpty ( ) : bool
return bool

Peek() public method

public Peek ( ) : object
return object

PrioQueue() public method

public PrioQueue ( )