public static enum AbstractReferenceMap.ReferenceStrength extends Enum<AbstractReferenceMap.ReferenceStrength>
Modifier and Type | Field and Description |
---|---|
int |
value
value
|
Modifier and Type | Method and Description |
---|---|
static AbstractReferenceMap.ReferenceStrength |
resolve(int value)
Resolve enum from int.
|
static AbstractReferenceMap.ReferenceStrength |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AbstractReferenceMap.ReferenceStrength[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AbstractReferenceMap.ReferenceStrength HARD
public static final AbstractReferenceMap.ReferenceStrength SOFT
public static final AbstractReferenceMap.ReferenceStrength WEAK
public static AbstractReferenceMap.ReferenceStrength[] values()
for (AbstractReferenceMap.ReferenceStrength c : AbstractReferenceMap.ReferenceStrength.values()) System.out.println(c);
public static AbstractReferenceMap.ReferenceStrength 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 nullpublic static AbstractReferenceMap.ReferenceStrength resolve(int value)
value
- the int valueIllegalArgumentException
- if the specified value is invalid.Copyright © 2006–2022 Apache Software Foundation. All rights reserved.