메소드 | 설명 | |
---|---|---|
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 |