public enum SupportEnum extends Enum<SupportEnum>
Enum Constant and Description |
---|
ENUM_VALUE_1 |
ENUM_VALUE_2 |
ENUM_VALUE_3 |
Modifier and Type | Method and Description |
---|---|
static SupportEnum |
getValueForEnum(int count) |
static SupportEnum |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SupportEnum[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SupportEnum ENUM_VALUE_1
public static final SupportEnum ENUM_VALUE_2
public static final SupportEnum ENUM_VALUE_3
public static SupportEnum[] values()
for (SupportEnum c : SupportEnum.values()) System.out.println(c);
public static SupportEnum 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 nullpublic static SupportEnum getValueForEnum(int count)
Copyright © 2005–2018. All rights reserved.