public enum SurveyType extends Enum<SurveyType>
| Modifier and Type | Method and Description |
|---|---|
static SurveyType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SurveyType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SurveyType CUSTOMER
public static final SurveyType EMPLOYEE
public static final SurveyType FEEDBACK
public static SurveyType[] values()
for (SurveyType c : SurveyType.values()) System.out.println(c);
public static SurveyType 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 © 2010–2020 T.I.V. Consulting GmbH. All rights reserved.