public static enum CacheValue.Strength extends Enum<CacheValue.Strength>
SOFT.Enum.EnumDesc<E extends Enum<E>>| Enum Constant and Description |
|---|
SOFT
Subsequent
getInstance()-created objects
will hold SoftReferences to their values. |
STRONG
Subsequent
getInstance()-created objects
will hold direct references to their values. |
| Modifier and Type | Method and Description |
|---|---|
static CacheValue.Strength |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CacheValue.Strength[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CacheValue.Strength STRONG
getInstance()-created objects
will hold direct references to their values.public static final CacheValue.Strength SOFT
getInstance()-created objects
will hold SoftReferences to their values.public static CacheValue.Strength[] values()
public static CacheValue.Strength valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is null