K - The key, usually used to identify if the computation has already been performedV - The value, usually representing the result of the computation associated to the keypublic class CacheEntry<K,V> extends Object implements Serializable
FIFOThreadSafeCache.| Constructor and Description |
|---|
CacheEntry(K key,
V value)
Standard constructor.
|
| Modifier and Type | Method and Description |
|---|---|
K |
getKey()
Getter for the key of the entry.
|
V |
getValue()
Getter for the value of the entry.
|
String |
toString()
Returns a string representation of the cache entry.
|
public CacheEntry(K key, V value)
key - The keyvalue - The valueNullArgumentException - if key or value is nullCopyright © 2024 CNES. All rights reserved.