public enum HierarchyType extends Enum<HierarchyType>
Modifier and Type | Method and Description |
---|---|
static HierarchyType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static HierarchyType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final HierarchyType NONE
public static final HierarchyType PARENT
public static final HierarchyType CHILD
public static final HierarchyType BOTH
public static HierarchyType[] values()
for (HierarchyType c : HierarchyType.values()) System.out.println(c);
public static HierarchyType 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 nullCopyright © 2022 DEISER. All Rights Reserved.