Package | Description |
---|---|
groovyx.gpars.extra166y |
Collections supporting parallel operations.
|
Modifier and Type | Field and Description |
---|---|
static CustomConcurrentHashMap.Strength |
CustomConcurrentHashMap.SOFT
The strength of soft references
|
static CustomConcurrentHashMap.Strength |
CustomConcurrentHashMap.STRONG
The strength of ordinary references
|
static CustomConcurrentHashMap.Strength |
CustomConcurrentHashMap.WEAK
The strength of weak references
|
Modifier and Type | Method and Description |
---|---|
static CustomConcurrentHashMap.Strength |
CustomConcurrentHashMap.Strength.valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static CustomConcurrentHashMap.Strength[] |
CustomConcurrentHashMap.Strength.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
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.
|