public class ConcurrentHashMapLong<T> extends Object implements ConcurrentMapLong<T>
Constructor and Description |
---|
ConcurrentHashMapLong(ConcurrentMap<Long,T> map) |
Modifier and Type | Method and Description |
---|---|
void |
clear() |
boolean |
containsKey(Object key) |
boolean |
containsValue(Object value) |
Set<Map.Entry<Long,T>> |
entrySet() |
boolean |
equals(Object o) |
T |
get(long key) |
T |
get(Object key) |
int |
hashCode() |
boolean |
isEmpty() |
Set<Long> |
keySet() |
T |
put(long key,
T value) |
T |
put(Long key,
T value) |
void |
putAll(Map<? extends Long,? extends T> m) |
T |
putIfAbsent(long key,
T value) |
T |
putIfAbsent(Long key,
T value) |
T |
remove(long key) |
T |
remove(Object key) |
boolean |
remove(Object key,
Object value) |
T |
replace(Long key,
T value) |
boolean |
replace(Long key,
T oldValue,
T newValue) |
int |
size() |
String |
toString() |
Collection<T> |
values() |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, replaceAll
public ConcurrentHashMapLong(ConcurrentMap<Long,T> map)
public T get(long key)
get
in interface ConcurrentMapLong<T>
public T remove(long key)
remove
in interface ConcurrentMapLong<T>
public T put(long key, T value)
put
in interface ConcurrentMapLong<T>
public T putIfAbsent(long key, T value)
putIfAbsent
in interface ConcurrentMapLong<T>
public boolean containsKey(Object key)
containsKey
in interface Map<Long,T>
public boolean containsValue(Object value)
containsValue
in interface Map<Long,T>
public T putIfAbsent(Long key, T value)
putIfAbsent
in interface ConcurrentMap<Long,T>
putIfAbsent
in interface Map<Long,T>
public boolean equals(Object o)
public int hashCode()
Copyright © 2009–2016. All rights reserved.