Class ConcurrentIntObjectHashMap<V>
java.lang.Object
com.strobel.collections.concurrent.ConcurrentIntObjectHashMap<V>
- All Implemented Interfaces:
ConcurrentIntObjectMap<V>
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected intprotected static final intprotected static final floatprotected static final intprotected intprotected com.strobel.collections.concurrent.ConcurrentIntObjectHashMap.IntHashEntry<V>[] -
Constructor Summary
ConstructorsConstructorDescriptionConcurrentIntObjectHashMap(int initialCapacity) ConcurrentIntObjectHashMap(int initialCapacity, float loadFactor) -
Method Summary
-
Field Details
-
DEFAULT_INITIAL_CAPACITY
protected static final int DEFAULT_INITIAL_CAPACITY- See Also:
-
MAXIMUM_CAPACITY
protected static final int MAXIMUM_CAPACITY- See Also:
-
DEFAULT_LOAD_FACTOR
protected static final float DEFAULT_LOAD_FACTOR- See Also:
-
table
protected volatile com.strobel.collections.concurrent.ConcurrentIntObjectHashMap.IntHashEntry<V>[] table -
count
protected volatile int count -
modCount
protected int modCount
-
-
Constructor Details
-
ConcurrentIntObjectHashMap
public ConcurrentIntObjectHashMap() -
ConcurrentIntObjectHashMap
public ConcurrentIntObjectHashMap(int initialCapacity) -
ConcurrentIntObjectHashMap
public ConcurrentIntObjectHashMap(int initialCapacity, float loadFactor)
-
-
Method Details
-
put
-
removeCore
-
addOrGet
- Specified by:
addOrGetin interfaceConcurrentIntObjectMap<V>
-
remove
- Specified by:
removein interfaceConcurrentIntObjectMap<V>
-
replace
- Specified by:
replacein interfaceConcurrentIntObjectMap<V>
-
put
- Specified by:
putin interfaceConcurrentIntObjectMap<V>
-
putIfAbsent
- Specified by:
putIfAbsentin interfaceConcurrentIntObjectMap<V>
-
get
- Specified by:
getin interfaceConcurrentIntObjectMap<V>
-
remove
- Specified by:
removein interfaceConcurrentIntObjectMap<V>
-
size
public int size()- Specified by:
sizein interfaceConcurrentIntObjectMap<V>
-
isEmpty
public boolean isEmpty()- Specified by:
isEmptyin interfaceConcurrentIntObjectMap<V>
-
contains
public boolean contains(int key) - Specified by:
containsin interfaceConcurrentIntObjectMap<V>
-
clear
public void clear()- Specified by:
clearin interfaceConcurrentIntObjectMap<V>
-
keys
- Specified by:
keysin interfaceConcurrentIntObjectMap<V>
-
entries
- Specified by:
entriesin interfaceConcurrentIntObjectMap<V>
-
elements
-