private static enum AlphaPolymer.Code extends java.lang.Enum<AlphaPolymer.Code>
Enum Constant and Description |
---|
BETA_SHEET |
LEFT_HELIX |
LEFT_TURN |
NADA |
RIGHT_HELIX |
RIGHT_TURN |
Modifier and Type | Method and Description |
---|---|
static AlphaPolymer.Code |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static AlphaPolymer.Code[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AlphaPolymer.Code NADA
public static final AlphaPolymer.Code RIGHT_HELIX
public static final AlphaPolymer.Code BETA_SHEET
public static final AlphaPolymer.Code LEFT_HELIX
public static final AlphaPolymer.Code LEFT_TURN
public static final AlphaPolymer.Code RIGHT_TURN
public static AlphaPolymer.Code[] values()
for (AlphaPolymer.Code c : AlphaPolymer.Code.values()) System.out.println(c);
public static AlphaPolymer.Code valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null