| Modifier and Type | Method and Description |
|---|---|
void |
clear() |
boolean |
containsKey(K key) |
V |
get(K key) |
void |
put(K key,
V value) |
boolean |
putIfAbsent(K key,
V value) |
boolean |
remove(K key) |
boolean |
remove(K key,
V oldValue) |
void |
removeAll(Set<? extends K> keys) |
boolean |
replace(K key,
V value) |
boolean |
replace(K key,
V oldValue,
V newValue) |
public boolean putIfAbsent(K key, V value)
putIfAbsent in interface AppCache<K,V>public boolean containsKey(K key)
containsKey in interface AppCache<K,V>Copyright © 2021. All rights reserved.