public enum TournamentType extends Enum<TournamentType>
| Enum Constant and Description |
|---|
DOUBLE_ELIMINATION |
ROUND_ROBIN |
SINGLE_ELIMINATION |
SWISS |
| Modifier and Type | Method and Description |
|---|---|
static TournamentType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TournamentType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TournamentType SINGLE_ELIMINATION
public static final TournamentType DOUBLE_ELIMINATION
public static final TournamentType ROUND_ROBIN
public static final TournamentType SWISS
public static TournamentType[] values()
for (TournamentType c : TournamentType.values()) System.out.println(c);
public static TournamentType 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. All rights reserved.