protected static class BaseCache.CacheItem extends Object
Modifier | Constructor and Description |
---|---|
protected |
CacheItem(int hashCode,
Object key,
Object value,
int size) |
Modifier and Type | Method and Description |
---|---|
protected int |
getHashCode()
get the item's hashCode
|
protected Object |
getKey()
get the item's key
|
protected int |
getSize() |
protected Object |
getValue()
get the item's value
|
protected Object |
refreshValue(Object value,
int newSize)
refresh the item's value
|
String |
toString() |
protected int getHashCode()
protected Object getKey()
protected Object getValue()
protected int getSize()
protected Object refreshValue(Object value, int newSize)
value
- value to be updatednewSize
- of the fieldCopyright © 2006–2018 TinyGroup. All rights reserved.