Package zombie.core.Collections
Class NonBlockingHashMapLong
java.lang.Object
java.util.AbstractMap
zombie.core.Collections.NonBlockingHashMapLong
- All Implemented Interfaces:
Serializable
,ConcurrentMap
,Map
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class java.util.AbstractMap
AbstractMap.SimpleEntry<K extends Object,
V extends Object>, AbstractMap.SimpleImmutableEntry<K extends Object, V extends Object> -
Constructor Summary
ConstructorDescriptionNonBlockingHashMapLong
(boolean boolean1) NonBlockingHashMapLong
(int int1) NonBlockingHashMapLong
(int int1, boolean boolean1) -
Method Summary
Modifier and TypeMethodDescriptionvoid
clear()
boolean
boolean
containsKey
(long long1) boolean
containsKey
(Object object) boolean
containsValue
(Object object) elements()
entrySet()
final Object
get
(long long1) keys()
keySet()
final void
print()
putIfAbsent
(long long1, Object object) putIfAbsent
(Long Long1, Object object) remove
(long long1) boolean
boolean
boolean
boolean
long
reprobes()
int
size()
values()
Methods inherited from class java.util.AbstractMap
clone, equals, hashCode, isEmpty, put, putAll, toString
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface java.util.concurrent.ConcurrentMap
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, replace, replace, replaceAll
-
Constructor Details
-
NonBlockingHashMapLong
public NonBlockingHashMapLong() -
NonBlockingHashMapLong
public NonBlockingHashMapLong(int int1) -
NonBlockingHashMapLong
public NonBlockingHashMapLong(boolean boolean1) -
NonBlockingHashMapLong
public NonBlockingHashMapLong(int int1, boolean boolean1)
-
-
Method Details
-
print
public final void print() -
reprobes
public long reprobes() -
size
public int size()- Specified by:
size
in interfaceMap
- Overrides:
size
in classAbstractMap
-
containsKey
public boolean containsKey(long long1) -
contains
-
put
-
putIfAbsent
-
remove
-
remove
-
replace
-
replace
-
clear
public void clear()- Specified by:
clear
in interfaceMap
- Overrides:
clear
in classAbstractMap
-
containsValue
- Specified by:
containsValue
in interfaceMap
- Overrides:
containsValue
in classAbstractMap
-
get
-
get
- Specified by:
get
in interfaceMap
- Overrides:
get
in classAbstractMap
-
remove
- Specified by:
remove
in interfaceMap
- Overrides:
remove
in classAbstractMap
-
remove
- Specified by:
remove
in interfaceConcurrentMap
- Specified by:
remove
in interfaceMap
-
containsKey
- Specified by:
containsKey
in interfaceMap
- Overrides:
containsKey
in classAbstractMap
-
putIfAbsent
-
replace
-
put
-
replace
-
elements
-
values
- Specified by:
values
in interfaceMap
- Overrides:
values
in classAbstractMap
-
keys
-
keySet
- Specified by:
keySet
in interfaceMap
- Overrides:
keySet
in classAbstractMap
-
entrySet
- Specified by:
entrySet
in interfaceMap
- Specified by:
entrySet
in classAbstractMap
-