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 ClassesNested 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
ConstructorsConstructorDescriptionNonBlockingHashMapLong(boolean boolean1) NonBlockingHashMapLong(int int1) NonBlockingHashMapLong(int int1, boolean boolean1) -
Method Summary
Modifier and TypeMethodDescriptionvoidclear()booleanbooleancontainsKey(long long1) booleancontainsKey(Object object) booleancontainsValue(Object object) elements()entrySet()final Objectget(long long1) keys()keySet()final voidprint()putIfAbsent(long long1, Object object) putIfAbsent(Long Long1, Object object) remove(long long1) booleanbooleanbooleanbooleanlongreprobes()intsize()values()Methods inherited from class java.util.AbstractMap
clone, equals, hashCode, isEmpty, put, putAll, toStringMethods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, waitMethods 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:
sizein interfaceMap- Overrides:
sizein classAbstractMap
-
containsKey
public boolean containsKey(long long1) -
contains
-
put
-
putIfAbsent
-
remove
-
remove
-
replace
-
replace
-
clear
public void clear()- Specified by:
clearin interfaceMap- Overrides:
clearin classAbstractMap
-
containsValue
- Specified by:
containsValuein interfaceMap- Overrides:
containsValuein classAbstractMap
-
get
-
get
- Specified by:
getin interfaceMap- Overrides:
getin classAbstractMap
-
remove
- Specified by:
removein interfaceMap- Overrides:
removein classAbstractMap
-
remove
- Specified by:
removein interfaceConcurrentMap- Specified by:
removein interfaceMap
-
containsKey
- Specified by:
containsKeyin interfaceMap- Overrides:
containsKeyin classAbstractMap
-
putIfAbsent
-
replace
-
put
-
replace
-
elements
-
values
- Specified by:
valuesin interfaceMap- Overrides:
valuesin classAbstractMap
-
keys
-
keySet
- Specified by:
keySetin interfaceMap- Overrides:
keySetin classAbstractMap
-
entrySet
- Specified by:
entrySetin interfaceMap- Specified by:
entrySetin classAbstractMap
-