public enum TennisEventType extends java.lang.Enum<TennisEventType> implements EventType
Enum Constant and Description |
---|
AWAY_GAME
Number of game that the away team/player won during the competition.
|
GAME
Winner of the set, which is decided by the number of winning game
|
HOME_GAME
Number of game that the home team/player won during the competition.
|
NONE
default - winner of match
|
POINT
Winner of the game, which is decided by the points
|
SET
Winner of the match, which is decided by the number of winning set
|
Modifier and Type | Method and Description |
---|---|
SportType |
sportType() |
static TennisEventType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static TennisEventType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
deserialize, deserialize, fromName, name, serialize
public static final TennisEventType NONE
public static final TennisEventType GAME
public static final TennisEventType SET
public static final TennisEventType POINT
public static final TennisEventType HOME_GAME
public static final TennisEventType AWAY_GAME
public static TennisEventType[] values()
for (TennisEventType c : TennisEventType.values()) System.out.println(c);
public static TennisEventType 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