public static enum Score.ScoringMethod extends java.lang.Enum<Score.ScoringMethod>
Enum Constant and Description |
---|
AREA
Constant for area scoring method (Chinese).
|
TERRITORY
Constant for territory scoring method (Japanese).
|
Modifier and Type | Method and Description |
---|---|
static Score.ScoringMethod |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Score.ScoringMethod[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Score.ScoringMethod AREA
public static final Score.ScoringMethod TERRITORY
public static Score.ScoringMethod[] values()
for (Score.ScoringMethod c : Score.ScoringMethod.values()) System.out.println(c);
public static Score.ScoringMethod 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 null