Constructor and Description |
---|
NeverEmptyMap(Class defaultInstance)
set the default time of the attribute live in second
|
NeverEmptyMap(Map<K,V> internalMap) |
NeverEmptyMap(Map<K,V> internalMap,
int inDefaultTimeLiveValueSecond) |
Modifier and Type | Method and Description |
---|---|
void |
clear() |
boolean |
containsKey(Object arg0) |
boolean |
containsValue(Object arg0) |
Set<Map.Entry<K,V>> |
entrySet() |
V |
get(Object key) |
boolean |
isEmpty() |
Set<K> |
keySet() |
static void |
main(String[] args) |
V |
put(K key,
V value) |
void |
putAll(Map<? extends K,? extends V> m) |
V |
remove(Object key) |
int |
size() |
Collection<V> |
values() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
compute, computeIfAbsent, computeIfPresent, equals, forEach, getOrDefault, hashCode, merge, putIfAbsent, remove, replace, replace, replaceAll
public NeverEmptyMap(Class defaultInstance)
public boolean containsKey(Object arg0)
containsKey
in interface Map<K,V>
public boolean containsValue(Object arg0)
containsValue
in interface Map<K,V>
public static void main(String[] args)
Copyright © 2012-2018. All Rights Reserved.