Package | Description |
---|---|
org.jboss.util.collection |
Extentions to the Java Collections framework.
|
Modifier and Type | Method and Description |
---|---|
static ConcurrentReferenceHashMap.ReferenceType |
ConcurrentReferenceHashMap.ReferenceType.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ConcurrentReferenceHashMap.ReferenceType[] |
ConcurrentReferenceHashMap.ReferenceType.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Constructor and Description |
---|
ConcurrentReferenceHashMap(ConcurrentReferenceHashMap.ReferenceType keyType,
ConcurrentReferenceHashMap.ReferenceType valueType)
Creates a new, empty reference map with the specified key
and value reference types.
|
ConcurrentReferenceHashMap(ConcurrentReferenceHashMap.ReferenceType keyType,
ConcurrentReferenceHashMap.ReferenceType valueType,
EnumSet<ConcurrentReferenceHashMap.Option> options)
Creates a new, empty reference map with the specified reference types
and behavioral options.
|
ConcurrentReferenceHashMap(int initialCapacity,
ConcurrentReferenceHashMap.ReferenceType keyType,
ConcurrentReferenceHashMap.ReferenceType valueType)
Creates a new, empty map with the specified initial capacity,
reference types and with default load factor (0.75) and concurrencyLevel (16).
|
ConcurrentReferenceHashMap(int initialCapacity,
float loadFactor,
int concurrencyLevel,
ConcurrentReferenceHashMap.ReferenceType keyType,
ConcurrentReferenceHashMap.ReferenceType valueType,
EnumSet<ConcurrentReferenceHashMap.Option> options)
Creates a new, empty map with the specified initial
capacity, reference types, load factor and concurrency level.
|
ConcurrentReferenceHashSet(ConcurrentReferenceHashMap.ReferenceType type)
Creates a new, empty reference set with the specified key
and value reference types.
|
ConcurrentReferenceHashSet(ConcurrentReferenceHashMap.ReferenceType type,
EnumSet<ConcurrentReferenceHashMap.Option> options)
Creates a new, empty reference set with the specified reference types
and behavioral options.
|
ConcurrentReferenceHashSet(int initialCapacity,
ConcurrentReferenceHashMap.ReferenceType type)
Creates a new, empty set with the specified initial capacity,
reference type and with default load factor (0.75) and concurrencyLevel (16).
|
Copyright © 2018 JBoss by Red Hat. All rights reserved.