@Generated(value="com.github.davidmoten:openapi-codegen-runtime:0.1.5") public enum SingletonEnum extends Enum<SingletonEnum>
| Enum Constant and Description |
|---|
HELLO |
| Modifier and Type | Method and Description |
|---|---|
static SingletonEnum |
fromValue(Object value) |
String |
value() |
static SingletonEnum |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SingletonEnum[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SingletonEnum HELLO
public static SingletonEnum[] values()
for (SingletonEnum c : SingletonEnum.values()) System.out.println(c);
public static SingletonEnum 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 SingletonEnum fromValue(Object value)
Copyright © 2023. All rights reserved.