public static enum AbstractReferenceMap.ReferenceStrength extends java.lang.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(java.lang.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(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic static AbstractReferenceMap.ReferenceStrength resolve(int value)
value
- the int valuejava.lang.IllegalArgumentException
- if the specified value is invalid.Copyright © 2010 - 2020 Adobe. All Rights Reserved