public abstract class AbstractHeapPriorityQueueElement extends Object implements HeapPriorityQueueElement
HeapPriorityQueueElement.NOT_CONTAINED| 构造器和说明 |
|---|
AbstractHeapPriorityQueueElement() |
| 限定符和类型 | 方法和说明 |
|---|---|
int |
getInternalIndex()
Returns the current index of this object in the internal array of
HeapPriorityQueue. |
void |
setInternalIndex(int newIndex)
Sets the current index of this object in the
HeapPriorityQueue and should only be
called by the owning HeapPriorityQueue. |
public int getInternalIndex()
HeapPriorityQueueElementHeapPriorityQueue.getInternalIndex 在接口中 HeapPriorityQueueElementpublic void setInternalIndex(int newIndex)
HeapPriorityQueueElementHeapPriorityQueue and should only be
called by the owning HeapPriorityQueue.setInternalIndex 在接口中 HeapPriorityQueueElementnewIndex - the new index in the timer heap.Copyright © 2014–2024 The Apache Software Foundation. All rights reserved.