Class ConcurrentHashMapLong<T>
org.elasticsearch.common.util.concurrent.ConcurrentHashMapLong<T>
- All Implemented Interfaces:
<,T>
,<,T>
,ConcurrentMapLong<T>
-
Nested Class Summary
Nested classes/interfaces inherited from interface java.util.
< extends , extends >
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
clear()
boolean
key)
boolean
value)
<<,T>>
entrySet()
boolean
o)
get(long key)
key)
int
hashCode()
boolean
isEmpty()
<>
keySet()
key, T value)
void
<? extends ,? extends T> m)
key, T value)
remove(long key)
key)
boolean
key, value)
key, T value)
boolean
int
size()
toString()
<T>
values()
Methods inherited from class java.lang.
, , , , , , ,
Methods inherited from interface java.util.concurrent.
, , , , , ,
-
Constructor Details
-
ConcurrentHashMapLong
-
-
Method Details
-
get
- Specified by:
get
in interfaceConcurrentMapLong<T>
-
remove
- Specified by:
remove
in interfaceConcurrentMapLong<T>
-
put
- Specified by:
put
in interfaceConcurrentMapLong<T>
-
isEmpty
public boolean isEmpty()- Specified by:
in interface
<,T>
-
size
public int size()- Specified by:
in interface
<,T>
-
get
public key)- Specified by:
in interface
<,T>
-
containsKey
public boolean containsKey( key)- Specified by:
in interface
<,T>
-
containsValue
public boolean containsValue( value)- Specified by:
in interface
<,T>
-
put
public key, T value)- Specified by:
in interface
<,T>
-
putIfAbsent
public key, T value) -
putAll
- Specified by:
in interface
<,T>
-
remove
public key)- Specified by:
in interface
<,T>
-
remove
public boolean remove( key, value) -
replace
-
replace
public key, T value) -
clear
public void clear()- Specified by:
in interface
<,T>
-
keySet
public <> keySet()- Specified by:
in interface
<,T>
-
values
- Specified by:
in interface
<,T>
-
entrySet
- Specified by:
in interface
<,T>
-
equals
public boolean equals( o)- Specified by:
in interface
<,T>
- Overrides:
in class
-
hashCode
public int hashCode()- Specified by:
in interface
<,T>
- Overrides:
in class
-
toString
public toString()- Overrides:
in class
-