public enum MatchDegree extends Enum<MatchDegree>
Enum Constant and Description |
---|
BOTH
Both type and referent matched according to whatever criteria are
specified.
|
NONE
Neither type nor referent matched according to whatever criteria are
specified.
|
REFERENT
Just referent (not type) matched according to whatever criteria are
specified.
|
TYPE
Just type (not referent) matched according to whatever criteria are
specified.
|
Modifier and Type | Method and Description |
---|---|
static MatchDegree |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MatchDegree[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MatchDegree NONE
public static final MatchDegree TYPE
public static final MatchDegree REFERENT
public static final MatchDegree BOTH
public static MatchDegree[] values()
for (MatchDegree c : MatchDegree.values()) System.out.println(c);
public static MatchDegree 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