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