Method | Description | |
---|---|---|
ClearQueue ( ) : void | ||
Enqueue ( string value, QueuePriorities priority = QueuePriorities.Medium ) : void | ||
PriorityQueue ( int maxCapacity ) : System | ||
TryDequeue ( string &result ) : bool |
Method | Description | |
---|---|---|
BubbleDown ( int index ) : void | ||
BubbleUp ( int last ) : void | ||
IsLeftNodeHigherPriority ( int leftIndex, int rightIndex ) : bool | ||
Swap ( Node &a, Node &b ) : void |
public Enqueue ( string value, QueuePriorities priority = QueuePriorities.Medium ) : void | ||
value | string | |
priority | QueuePriorities | |
return | void |
public PriorityQueue ( int maxCapacity ) : System | ||
maxCapacity | int | |
return | System |