|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.mmbase.util.LRUHashtable.LRUEntry
public class LRUHashtable.LRUEntry
Element used to store information from the LRUHashtable.
| Field Summary | |
|---|---|
protected K |
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 V |
value
The element value |
| Constructor Summary | |
|---|---|
LRUHashtable.LRUEntry()
|
|
LRUHashtable.LRUEntry(K key,
V val)
|
|
LRUHashtable.LRUEntry(K key,
V value,
LRUHashtable.LRUEntry prev,
LRUHashtable.LRUEntry next)
|
|
| 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. |
K |
getKey()
|
V |
getValue()
|
V |
setValue(V 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 V value
protected LRUHashtable.LRUEntry next
protected LRUHashtable.LRUEntry prev
protected K key
protected int requestCount
| Constructor Detail |
|---|
LRUHashtable.LRUEntry()
LRUHashtable.LRUEntry(K key,
V val)
LRUHashtable.LRUEntry(K key,
V value,
LRUHashtable.LRUEntry prev,
LRUHashtable.LRUEntry next)
| Method Detail |
|---|
public K getKey()
getKey in interface Map.Entry<K,V>public V getValue()
getValue in interface Map.Entry<K,V>public V setValue(V o)
setValue in interface Map.Entry<K,V>public int getByteSize()
SizeMeasurable
getByteSize in interface SizeMeasurablepublic int getByteSize(SizeOf sizeof)
SizeMeasurable
getByteSize in interface SizeMeasurablepublic String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||