|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectpalio.modules.cache.LRUList.Entry
public final class LRUList.Entry
Element of the LRU list. Contains previous / next pointers and user accesible content field.
Field Summary | |
---|---|
java.lang.Object |
key
This field may be used to keep the key associated with the Entry content. |
java.lang.Object |
tag
This field may be used to keep an arbitrary object associated with the Entry . |
Method Summary | |
---|---|
java.lang.Object |
getContent()
|
boolean |
isFirst()
|
boolean |
isLast()
|
void |
remove()
Removes entry from the LRU list. |
void |
setContent(java.lang.Object obj)
|
void |
toEnd()
Moves entry to the end of the LRU list. |
void |
toFront()
Moves entry to the front of the LRU list. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public java.lang.Object tag
Entry
.
public java.lang.Object key
Entry
content.
Method Detail |
---|
public java.lang.Object getContent()
public void setContent(java.lang.Object obj)
public void toFront()
public void toEnd()
public void remove()
public boolean isFirst()
public boolean isLast()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |