public static enum Score.PeriodType extends Enum<Score.PeriodType>
Enum Constant and Description |
---|
Other |
Overtime |
Penalities |
RegularPeriod |
Modifier and Type | Method and Description |
---|---|
static Score.PeriodType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Score.PeriodType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Score.PeriodType RegularPeriod
public static final Score.PeriodType Overtime
public static final Score.PeriodType Penalities
public static final Score.PeriodType Other
public static Score.PeriodType[] values()
for (Score.PeriodType c : Score.PeriodType.values()) System.out.println(c);
public static Score.PeriodType 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 nullCopyright © 2016–2017. All rights reserved.