DefaultPriorityQueue to maintain internal state. These methods should generally not be
used outside the scope of DefaultPriorityQueue.
| Modifier and Type | Field and Description |
|---|---|
| public static final int | INDEX_NOT_IN_QUEUE
This should be used to initialize the storage returned by |
| Modifier and Type | Method and Description |
|---|---|
| public int | priorityQueueIndex(DefaultPriorityQueue<?> queue)
Get the last value set by |
| public void | priorityQueueIndex(DefaultPriorityQueue<?>
The queue for which the index is being set. queue, int The index as used by i)DefaultPriorityQueue.Used by |
| INDEX_NOT_IN_QUEUE | back to summary |
|---|---|
| public static final int INDEX_NOT_IN_QUEUE This should be used to initialize the storage returned by | |
| priorityQueueIndex | back to summary |
|---|---|
| public int priorityQueueIndex(DefaultPriorityQueue<?> queue) Get the last value set by Throwing exceptions from this method will result in undefined behavior. | |
| priorityQueueIndex | back to summary |
|---|---|
| public void priorityQueueIndex(DefaultPriorityQueue<?> queue, int i) Used by Throwing exceptions from this method will result in undefined behavior.
| |