|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.w3c.util.LRUList org.w3c.util.AsyncLRUList
public class AsyncLRUList
Field Summary |
---|
Fields inherited from class org.w3c.util.LRUList |
---|
head, tail |
Constructor Summary | |
---|---|
AsyncLRUList()
|
Method Summary | |
---|---|
LRUAble |
getHead()
Obtain the frontmost node. |
LRUAble |
getNext(LRUAble node)
Get the next node of this list. |
LRUAble |
getPrev(LRUAble node)
Get the previous node of this list. |
LRUAble |
getTail()
Obtain the backmost node. |
LRUAble |
remove(LRUAble node)
Removes node if it's in list. |
LRUAble |
removeTail()
Obtain the backmost node, and remove it from list too. |
void |
toHead(LRUAble node)
Moves node to front of list. |
void |
toTail(LRUAble node)
Moves node to back of list. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AsyncLRUList()
Method Detail |
---|
public final void toHead(LRUAble node)
LRUList
toHead
in class LRUList
node
- the nodepublic final void toTail(LRUAble node)
LRUList
toTail
in class LRUList
node
- the nodepublic final LRUAble remove(LRUAble node)
LRUList
remove
in class LRUList
node
- The node to remove
public final LRUAble getTail()
LRUList
getTail
in class LRUList
public final LRUAble getHead()
LRUList
getHead
in class LRUList
public final LRUAble removeTail()
LRUList
removeTail
in class LRUList
public final LRUAble getNext(LRUAble node)
LRUList
getNext
in class LRUList
public final LRUAble getPrev(LRUAble node)
LRUList
getPrev
in class LRUList
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |