public final class MemoryCache<K,V> extends Object
| Modifier and Type | Class and Description |
|---|---|
static interface |
MemoryCache.Builder<K,V> |
| Modifier and Type | Method and Description |
|---|---|
static <K,V> MemoryCache.Builder<K,V> |
builder() |
void |
clear() |
Iterable<Map.Entry<K,V>> |
entries() |
V |
get(K key) |
Iterable<K> |
keys() |
void |
put(K key,
V value) |
void |
remove(K key) |
String |
toString() |
Iterable<V> |
values() |
public static <K,V> MemoryCache.Builder<K,V> builder()
public void remove(K key)
public void clear()
Copyright © 2020. All rights reserved.