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