public static enum Project.StyleEnum extends Enum<Project.StyleEnum>
| Modifier and Type | Method and Description |
|---|---|
static Project.StyleEnum |
fromValue(String value) |
String |
getValue() |
String |
toString() |
static Project.StyleEnum |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Project.StyleEnum[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Project.StyleEnum CLASSIC
public static final Project.StyleEnum NEXT_GEN
public static Project.StyleEnum[] values()
for (Project.StyleEnum c : Project.StyleEnum.values()) System.out.println(c);
public static Project.StyleEnum 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 String getValue()
public String toString()
toString in class Enum<Project.StyleEnum>public static Project.StyleEnum fromValue(String value)
Copyright © 2011–2021 Everit Kft.. All rights reserved.