public enum BasketballSegment extends java.lang.Enum<BasketballSegment> implements EventSegment
Enum Constant and Description |
---|
FIRST_HALF |
HALF_BREAK |
LIVE |
OVERTIME |
PENDING |
QUARTER_1 |
QUARTER_2 |
QUARTER_3 |
QUARTER_4 |
QUARTER_BREAK |
SECOND_HALF |
Modifier and Type | Method and Description |
---|---|
static BasketballSegment |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static BasketballSegment[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BasketballSegment QUARTER_1
public static final BasketballSegment QUARTER_2
public static final BasketballSegment QUARTER_3
public static final BasketballSegment QUARTER_4
public static final BasketballSegment OVERTIME
public static final BasketballSegment PENDING
public static final BasketballSegment HALF_BREAK
public static final BasketballSegment QUARTER_BREAK
public static final BasketballSegment FIRST_HALF
public static final BasketballSegment SECOND_HALF
public static final BasketballSegment LIVE
public static BasketballSegment[] values()
for (BasketballSegment c : BasketballSegment.values()) System.out.println(c);
public static BasketballSegment 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