public static enum HasUnderscores.TheThing extends Enum<HasUnderscores.TheThing>
| Modifier and Type | Method and Description |
|---|---|
static HasUnderscores.TheThing |
fromValue(Object value) |
String |
value() |
static HasUnderscores.TheThing |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static HasUnderscores.TheThing[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final HasUnderscores.TheThing HELO
public static final HasUnderscores.TheThing PLANE
public static HasUnderscores.TheThing[] values()
for (HasUnderscores.TheThing c : HasUnderscores.TheThing.values()) System.out.println(c);
public static HasUnderscores.TheThing 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 value()
public static HasUnderscores.TheThing fromValue(Object value)
Copyright © 2023. All rights reserved.