public final class LRUList.Entry
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
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 . |
Modifier and Type | Method and Description |
---|---|
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.
|
public java.lang.Object tag
Entry
.public java.lang.Object key
Entry
content.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()