Package | Description |
---|---|
groovyx.gpars.extra166y |
Collections supporting parallel operations.
|
Modifier and Type | Class and Description |
---|---|
(package private) static class |
CustomConcurrentHashMap.EquivalenceUsingEquals |
(package private) static class |
CustomConcurrentHashMap.EquivalenceUsingIdentity |
Modifier and Type | Field and Description |
---|---|
static CustomConcurrentHashMap.Equivalence<java.lang.Object> |
CustomConcurrentHashMap.EQUALS
An Equivalence object performing
Object.equals(java.lang.Object) based comparisons
and using Object.hashCode() hashing |
static CustomConcurrentHashMap.Equivalence<java.lang.Object> |
CustomConcurrentHashMap.IDENTITY
An Equivalence object performing identity-based comparisons
and using
System.identityHashCode(java.lang.Object) for hashing |
(package private) CustomConcurrentHashMap.Equivalence<? super K> |
CustomConcurrentHashMap.keyEquivalence
Equivalence object for keys
|
(package private) CustomConcurrentHashMap.Equivalence<? super V> |
CustomConcurrentHashMap.valueEquivalence
Equivalence object for values
|
Modifier and Type | Method and Description |
---|---|
static <ValueType> |
CustomConcurrentHashMap.newIntKeyMap(CustomConcurrentHashMap.Strength valueStrength,
CustomConcurrentHashMap.Equivalence<? super ValueType> valueEquivalence,
int expectedSize)
Returns a new map using Integer keys and the given value
parameters.
|
static <KeyType> CustomConcurrentHashMap<KeyType,java.lang.Integer> |
CustomConcurrentHashMap.newIntValueMap(CustomConcurrentHashMap.Strength keyStrength,
CustomConcurrentHashMap.Equivalence<? super KeyType> keyEquivalence,
int expectedSize)
Returns a new map using the given key parameters and Integer values.
|
Constructor and Description |
---|
CustomConcurrentHashMap.KeySet(CustomConcurrentHashMap.Strength strength,
CustomConcurrentHashMap.Equivalence<? super K> equivalence,
int expectedSize)
Creates a set with the given parameters.
|
CustomConcurrentHashMap(CustomConcurrentHashMap.Strength keyStrength,
CustomConcurrentHashMap.Equivalence<? super K> keyEquivalence,
CustomConcurrentHashMap.Strength valueStrength,
CustomConcurrentHashMap.Equivalence<? super V> valueEquivalence,
int expectedSize)
Creates a new CustomConcurrentHashMap with the given parameters.
|
CustomConcurrentHashMap(CustomConcurrentHashMap.Strength keyStrength,
CustomConcurrentHashMap.Equivalence<? super K> keyEquivalence,
CustomConcurrentHashMap.Strength valueStrength,
CustomConcurrentHashMap.Equivalence<? super V> valueEquivalence,
int expectedSize)
Creates a new CustomConcurrentHashMap with the given parameters.
|
CustomConcurrentHashMap(java.lang.String ks,
CustomConcurrentHashMap.Equivalence<? super K> keq,
java.lang.String vs,
CustomConcurrentHashMap.Equivalence<? super V> veq,
int expectedSize)
Internal constructor to set factory, equivalences and segment
capacities, and to create segments array.
|
CustomConcurrentHashMap(java.lang.String ks,
CustomConcurrentHashMap.Equivalence<? super K> keq,
java.lang.String vs,
CustomConcurrentHashMap.Equivalence<? super V> veq,
int expectedSize)
Internal constructor to set factory, equivalences and segment
capacities, and to create segments array.
|