public enum FightType extends Enum<FightType>
Enum Constant and Description |
---|
AMATEUR |
EXHIBITION |
OTHER |
PRO |
PRO_EXHIBITION |
UPCOMING |
Modifier and Type | Method and Description |
---|---|
static FightType |
fromString(String type) |
static FightType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static FightType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final FightType PRO
public static final FightType PRO_EXHIBITION
public static final FightType EXHIBITION
public static final FightType AMATEUR
public static final FightType OTHER
public static final FightType UPCOMING
public static FightType[] values()
for (FightType c : FightType.values()) System.out.println(c);
public static FightType 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 © 2019. All rights reserved.