Метод | Описание | |
---|---|---|
ClearQueue ( ) : void | ||
Enqueue ( string value, QueuePriorities priority = QueuePriorities.Medium ) : void | ||
PriorityQueue ( int maxCapacity ) : System | ||
TryDequeue ( string &result ) : bool |
Метод | Описание | |
---|---|---|
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 | |
Результат | void |
public PriorityQueue ( int maxCapacity ) : System | ||
maxCapacity | int | |
Результат | System |
public TryDequeue ( string &result ) : bool | ||
result | string | |
Результат | bool |