class PriorityList
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
(package private) PNode |
_head |
(package private) PNode |
_tail |
(package private) long |
els |
Constructor and Description |
---|
PriorityList() |
Modifier and Type | Method and Description |
---|---|
void |
clear() |
boolean |
empty() |
PairBoolean |
getLock() |
long |
headPriority() |
PNode |
insert(long priority,
java.lang.Thread thrd,
boolean isEClock,
PairBoolean offEntry) |
PLIterator |
iterator() |
(package private) PNode |
remove(PNode node) |
void |
removeHead() |
long |
size() |
java.lang.Thread |
thread() |
public long size()
public boolean empty()
public void clear()
public java.lang.Thread thread()
public PairBoolean getLock()
public long headPriority()
public void removeHead()
public PNode insert(long priority, java.lang.Thread thrd, boolean isEClock, PairBoolean offEntry)
public PLIterator iterator()