public enum Entrancy extends Enum<Entrancy> implements Serializable
Enum Constant and Description |
---|
ENTRANT |
NON_ENTRANT |
Modifier and Type | Method and Description |
---|---|
static Entrancy |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Entrancy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Entrancy ENTRANT
public static final Entrancy NON_ENTRANT
public static Entrancy[] values()
for (Entrancy c : Entrancy.values()) System.out.println(c);
public static Entrancy 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 © 2013 JBoss, a division of Red Hat, Inc.. All Rights Reserved.