K
- Hashable keyV
- Cached valuepublic abstract static class Cache.Entry<K,V>
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
private K |
key
Hashable key
|
private V |
value
Cached value
|
Modifier | Constructor and Description |
---|---|
protected |
Entry(K key,
V value)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
K |
getKey()
Get the key.
|
V |
getValue()
Get the value.
|