|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.mmbase.util.LRUHashtable.LRUEntry
Element used to store information from the LRUHashtable.
| Field Summary | |
protected Object |
key
The element key |
protected LRUHashtable.LRUEntry |
next
The next, newer, element |
protected LRUHashtable.LRUEntry |
prev
The previous, older, element |
protected int |
requestCount
the number of times this entry has been requested |
protected Object |
value
The element value |
| Method Summary | |
int |
getByteSize()
Determines the byte-size of this object |
int |
getByteSize(SizeOf sizeof)
Determines the byte-size of this object using the given SizeOf instance. |
Object |
getKey()
|
Object |
getValue()
|
Object |
setValue(Object o)
|
String |
toString()
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface java.util.Map.Entry |
equals, hashCode |
| Field Detail |
protected Object value
protected LRUHashtable.LRUEntry next
protected LRUHashtable.LRUEntry prev
protected Object key
protected int requestCount
| Method Detail |
public Object getKey()
getKey in interface Map.Entrypublic Object getValue()
getValue in interface Map.Entrypublic Object setValue(Object o)
setValue in interface Map.Entrypublic int getByteSize()
SizeMeasurable
getByteSize in interface SizeMeasurablepublic int getByteSize(SizeOf sizeof)
SizeMeasurable
getByteSize in interface SizeMeasurablepublic String toString()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||