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