Class ConcurrentHashMapLong<T>
java.lang.Object
org.elasticsearch.common.util.concurrent.ConcurrentHashMapLong<T>
- All Implemented Interfaces:
ConcurrentMap<Long,T>,Map<Long,T>,ConcurrentMapLong<T>
-
Nested Class Summary
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface java.util.concurrent.ConcurrentMap
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, replaceAll
-
Constructor Details
-
ConcurrentHashMapLong
-
-
Method Details
-
get
- Specified by:
getin interfaceConcurrentMapLong<T>
-
remove
- Specified by:
removein interfaceConcurrentMapLong<T>
-
put
- Specified by:
putin interfaceConcurrentMapLong<T>
-
isEmpty
public boolean isEmpty() -
size
public int size() -
get
-
containsKey
- Specified by:
containsKeyin interfaceMap<Long,T>
-
containsValue
- Specified by:
containsValuein interfaceMap<Long,T>
-
put
-
putIfAbsent
- Specified by:
putIfAbsentin interfaceConcurrentMap<Long,T>- Specified by:
putIfAbsentin interfaceMap<Long,T>
-
putAll
-
remove
-
remove
-
replace
-
replace
-
clear
public void clear() -
keySet
-
values
-
entrySet
-
equals
-
hashCode
public int hashCode() -
toString
-