|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectedu.ucdavis.rj.Locks.PriorityList
class PriorityList
Field Summary | |
---|---|
(package private) PNode |
_head
|
(package private) PNode |
_tail
|
(package private) long |
els
|
Constructor Summary | |
---|---|
PriorityList()
|
Method Summary | |
---|---|
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()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
PNode _head
PNode _tail
long els
Constructor Detail |
---|
public PriorityList()
Method Detail |
---|
public long size()
public boolean empty()
public void clear()
public java.lang.Thread thread()
public PairBoolean getLock()
public long headPriority()
public void removeHead()
PNode remove(PNode node)
public PNode insert(long priority, java.lang.Thread thrd, boolean isEClock, PairBoolean offEntry)
public PLIterator iterator()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |