K - the key typeV - the value typepublic interface CacheInterface<K,V>
| Modifier and Type | Method and Description |
|---|---|
V |
get(K key)
Retrieve a value V from the cache
|
boolean |
insert(K key,
V value)
Insert an object V with key K into the cache
|
Copyright © 2021. All rights reserved.