Package | Description |
---|---|
org.apache.openjpa.lib.util |
General Utilities
|
org.apache.openjpa.lib.util.collections |
commons-collections4 import.
|
org.apache.openjpa.lib.util.concurrent |
Concurrent Utilities
|
Constructor and Description |
---|
ReferenceHashMap(AbstractReferenceMap.ReferenceStrength keyType,
AbstractReferenceMap.ReferenceStrength valueType) |
ReferenceHashMap(AbstractReferenceMap.ReferenceStrength keyType,
AbstractReferenceMap.ReferenceStrength valueType,
int capacity,
float loadFactor) |
ReferenceHashSet(AbstractReferenceMap.ReferenceStrength refType)
Construct a set with the given reference type.
|
Modifier and Type | Method and Description |
---|---|
static AbstractReferenceMap.ReferenceStrength |
AbstractReferenceMap.ReferenceStrength.resolve(int value)
Resolve enum from int.
|
static AbstractReferenceMap.ReferenceStrength |
AbstractReferenceMap.ReferenceStrength.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AbstractReferenceMap.ReferenceStrength[] |
AbstractReferenceMap.ReferenceStrength.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
protected boolean |
AbstractReferenceMap.isKeyType(AbstractReferenceMap.ReferenceStrength type)
Provided protected read-only access to the key type.
|
protected boolean |
AbstractReferenceMap.isValueType(AbstractReferenceMap.ReferenceStrength type)
Provided protected read-only access to the value type.
|
protected <T> Object |
AbstractReferenceMap.ReferenceEntry.toReference(AbstractReferenceMap.ReferenceStrength type,
T referent,
int hash)
Constructs a reference of the given type to the given referent.
|
Constructor and Description |
---|
AbstractReferenceMap(AbstractReferenceMap.ReferenceStrength keyType,
AbstractReferenceMap.ReferenceStrength valueType,
int capacity,
float loadFactor,
boolean purgeValues)
Constructs a new empty map with the specified reference types,
load factor and initial capacity.
|
ReferenceIdentityMap(AbstractReferenceMap.ReferenceStrength keyType,
AbstractReferenceMap.ReferenceStrength valueType)
Constructs a new
ReferenceIdentityMap that will
use the specified types of references. |
ReferenceIdentityMap(AbstractReferenceMap.ReferenceStrength keyType,
AbstractReferenceMap.ReferenceStrength valueType,
boolean purgeValues)
Constructs a new
ReferenceIdentityMap that will
use the specified types of references. |
ReferenceIdentityMap(AbstractReferenceMap.ReferenceStrength keyType,
AbstractReferenceMap.ReferenceStrength valueType,
int capacity,
float loadFactor)
Constructs a new
ReferenceIdentityMap with the
specified reference types, load factor and initial capacity. |
ReferenceIdentityMap(AbstractReferenceMap.ReferenceStrength keyType,
AbstractReferenceMap.ReferenceStrength valueType,
int capacity,
float loadFactor,
boolean purgeValues)
Constructs a new
ReferenceIdentityMap with the
specified reference types, load factor and initial capacity. |
ReferenceMap(AbstractReferenceMap.ReferenceStrength keyType,
AbstractReferenceMap.ReferenceStrength valueType)
Constructs a new
ReferenceMap that will
use the specified types of references. |
ReferenceMap(AbstractReferenceMap.ReferenceStrength keyType,
AbstractReferenceMap.ReferenceStrength valueType,
boolean purgeValues)
Constructs a new
ReferenceMap that will
use the specified types of references. |
ReferenceMap(AbstractReferenceMap.ReferenceStrength keyType,
AbstractReferenceMap.ReferenceStrength valueType,
int capacity,
float loadFactor)
Constructs a new
ReferenceMap with the
specified reference types, load factor and initial
capacity. |
ReferenceMap(AbstractReferenceMap.ReferenceStrength keyType,
AbstractReferenceMap.ReferenceStrength valueType,
int capacity,
float loadFactor,
boolean purgeValues)
Constructs a new
ReferenceMap with the
specified reference types, load factor and initial
capacity. |
Constructor and Description |
---|
ConcurrentReferenceHashMap(AbstractReferenceMap.ReferenceStrength keyType,
AbstractReferenceMap.ReferenceStrength valueType)
Constructs a new, empty HashMap with a default capacity and load factor.
|
ConcurrentReferenceHashMap(AbstractReferenceMap.ReferenceStrength keyType,
AbstractReferenceMap.ReferenceStrength valueType,
int initialCapacity)
Constructs a new, empty HashMap with the specified initial capacity
and default load factor.
|
ConcurrentReferenceHashMap(AbstractReferenceMap.ReferenceStrength keyType,
AbstractReferenceMap.ReferenceStrength valueType,
int initialCapacity,
float loadFactor)
Constructs a new, empty HashMap with the specified initial
capacity and the specified load factor.
|
ConcurrentReferenceHashMap(AbstractReferenceMap.ReferenceStrength keyType,
AbstractReferenceMap.ReferenceStrength valueType,
Map t)
Constructs a new HashMap with the same mappings as the given
Map.
|
ConcurrentReferenceHashSet(AbstractReferenceMap.ReferenceStrength refType)
Construct a set with the given reference type.
|
Copyright © 2006–2022 Apache Software Foundation. All rights reserved.