org.gudy.azureus2.core3.util
Class ConcurrentHashMapWrapper<S,T>
java.lang.Object
org.gudy.azureus2.core3.util.ConcurrentHashMapWrapper<S,T>
public class ConcurrentHashMapWrapper<S,T>
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ConcurrentHashMapWrapper
public ConcurrentHashMapWrapper(int initialCapacity)
ConcurrentHashMapWrapper
public ConcurrentHashMapWrapper(int initialCapacity,
float loadFactor,
int concurrencyLevel)
ConcurrentHashMapWrapper
public ConcurrentHashMapWrapper()
ConcurrentHashMapWrapper
public ConcurrentHashMapWrapper(Map<S,T> init_map)
putAll
public void putAll(Map<S,T> from_map)
put
public T put(S key,
T value)
get
public T get(S key)
remove
public T remove(S key)
containsKey
public boolean containsKey(S key)
keySet
public Set<S> keySet()
- NOT MODIFIABLE
- Returns:
toTreeMap
public TreeMap<S,T> toTreeMap()
- Helper for config writing
- Returns: