Package | Description |
---|---|
org.apache.commons.collections4.map |
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 <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. |
Copyright © 2001–2018 The Apache Software Foundation. All rights reserved.