public class LazyConcurrentHashMap<K,V>
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static interface |
LazyConcurrentHashMap.Creator<V> |
static class |
LazyConcurrentHashMap.MyItem |
Modifier and Type | Method and Description |
---|---|
static <K,V> LazyConcurrentHashMap<K,V> |
build(java.lang.Class<V> cType) |
void |
clear() |
boolean |
containsKey(K key) |
V |
getOrCreate(K key) |
V |
getOrCreate(K key,
LazyConcurrentHashMap.Creator<V> creator) |
boolean |
isEmpty() |
static void |
main(java.lang.String[] args) |
V |
remove(K key) |
int |
size() |
public static <K,V> LazyConcurrentHashMap<K,V> build(java.lang.Class<V> cType)
public V getOrCreate(K key, LazyConcurrentHashMap.Creator<V> creator)
public boolean containsKey(K key)
public void clear()
public boolean isEmpty()
public int size()
public static void main(java.lang.String[] args)