Package zombie.core.Collections
Class NonBlockingHashMapLong
java.lang.Object
java.util.AbstractMap
zombie.core.Collections.NonBlockingHashMapLong
- All Implemented Interfaces:
java.io.Serializable
,java.util.concurrent.ConcurrentMap
,java.util.Map
public class NonBlockingHashMapLong
extends java.util.AbstractMap
implements java.util.concurrent.ConcurrentMap, java.io.Serializable
- See Also:
- Serialized Form
-
Nested Class Summary
Nested Classes Modifier and Type Class Description class
NonBlockingHashMapLong.IteratorLong
Nested classes/interfaces inherited from class java.util.AbstractMap
java.util.AbstractMap.SimpleEntry<K extends java.lang.Object,V extends java.lang.Object>, java.util.AbstractMap.SimpleImmutableEntry<K extends java.lang.Object,V extends java.lang.Object>
Nested classes/interfaces inherited from interface java.util.Map
java.util.Map.Entry<K extends java.lang.Object,V extends java.lang.Object>
-
Constructor Summary
Constructors Constructor Description NonBlockingHashMapLong()
NonBlockingHashMapLong(boolean boolean1)
NonBlockingHashMapLong(int int1)
NonBlockingHashMapLong(int int1, boolean boolean1)
-
Method Summary
Modifier and Type Method Description void
clear()
boolean
contains(java.lang.Object object)
boolean
containsKey(long long1)
boolean
containsKey(java.lang.Object object)
boolean
containsValue(java.lang.Object object)
java.util.Enumeration
elements()
java.util.Set
entrySet()
java.lang.Object
get(long long1)
java.lang.Object
get(java.lang.Object object)
java.util.Enumeration
keys()
java.util.Set
keySet()
void
print()
java.lang.Object
put(long long1, java.lang.Object object)
java.lang.Object
put(java.lang.Long Long1, java.lang.Object object)
java.lang.Object
putIfAbsent(long long1, java.lang.Object object)
java.lang.Object
putIfAbsent(java.lang.Long Long1, java.lang.Object object)
java.lang.Object
remove(long long1)
boolean
remove(long long1, java.lang.Object object)
java.lang.Object
remove(java.lang.Object object)
boolean
remove(java.lang.Object object, java.lang.Object object2)
java.lang.Object
replace(long long1, java.lang.Object object)
boolean
replace(long long1, java.lang.Object object, java.lang.Object object2)
java.lang.Object
replace(java.lang.Long Long1, java.lang.Object object)
boolean
replace(java.lang.Long Long1, java.lang.Object object, java.lang.Object object2)
long
reprobes()
int
size()
java.util.Collection
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
Methods inherited from interface java.util.Map
equals, hashCode, isEmpty, put, putAll
-
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 interfacejava.util.Map
- Overrides:
size
in classjava.util.AbstractMap
-
containsKey
public boolean containsKey(long long1) -
contains
public boolean contains(java.lang.Object object) -
put
public java.lang.Object put(long long1, java.lang.Object object) -
putIfAbsent
public java.lang.Object putIfAbsent(long long1, java.lang.Object object) -
remove
public java.lang.Object remove(long long1) -
remove
public boolean remove(long long1, java.lang.Object object) -
replace
public java.lang.Object replace(long long1, java.lang.Object object) -
replace
public boolean replace(long long1, java.lang.Object object, java.lang.Object object2) -
clear
public void clear()- Specified by:
clear
in interfacejava.util.Map
- Overrides:
clear
in classjava.util.AbstractMap
-
containsValue
public boolean containsValue(java.lang.Object object)- Specified by:
containsValue
in interfacejava.util.Map
- Overrides:
containsValue
in classjava.util.AbstractMap
-
get
public final java.lang.Object get(long long1) -
get
public java.lang.Object get(java.lang.Object object)- Specified by:
get
in interfacejava.util.Map
- Overrides:
get
in classjava.util.AbstractMap
-
remove
public java.lang.Object remove(java.lang.Object object)- Specified by:
remove
in interfacejava.util.Map
- Overrides:
remove
in classjava.util.AbstractMap
-
remove
public boolean remove(java.lang.Object object, java.lang.Object object2)- Specified by:
remove
in interfacejava.util.concurrent.ConcurrentMap
- Specified by:
remove
in interfacejava.util.Map
-
containsKey
public boolean containsKey(java.lang.Object object)- Specified by:
containsKey
in interfacejava.util.Map
- Overrides:
containsKey
in classjava.util.AbstractMap
-
putIfAbsent
public java.lang.Object putIfAbsent(java.lang.Long Long1, java.lang.Object object) -
replace
public java.lang.Object replace(java.lang.Long Long1, java.lang.Object object) -
put
public java.lang.Object put(java.lang.Long Long1, java.lang.Object object) -
replace
public boolean replace(java.lang.Long Long1, java.lang.Object object, java.lang.Object object2) -
elements
public java.util.Enumeration elements() -
values
public java.util.Collection values()- Specified by:
values
in interfacejava.util.Map
- Overrides:
values
in classjava.util.AbstractMap
-
keys
public java.util.Enumeration keys() -
keySet
public java.util.Set keySet()- Specified by:
keySet
in interfacejava.util.Map
- Overrides:
keySet
in classjava.util.AbstractMap
-
entrySet
public java.util.Set entrySet()- Specified by:
entrySet
in interfacejava.util.Map
- Specified by:
entrySet
in classjava.util.AbstractMap
-