|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Object java.lang.Enum<ResidueEnum> org.proteinshader.structure.enums.ResidueEnum
public enum ResidueEnum
Provides an enumeration that can be used to restrict a Visitor to traversing only a particular Residue type.
Enum Constant Summary | |
---|---|
AA_AND_WATERS
Visit AminoAcids first and then visit Waters. |
|
AA_BACKBONE
Visit only AminoAcids, and then visit only the backbone Atoms. |
|
AA_SIDE_CHAIN
Visit only AminoAcids, and then visit only the side chain Atoms. |
|
AMINO_ACIDS
Visit only AminoAcids. |
|
HETEROGENS
Visit only Heterogens. |
|
WATERS
Visit only Waters. |
Method Summary | |
---|---|
String |
toString()
Returns the Residue type as a String suitable for use in a menu: for example, "Amino Acids" rather then "AMINO_ACIDS". |
static ResidueEnum |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static ResidueEnum[] |
values()
Returns an array containing the constants of this enum type, in the order they're declared. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, getDeclaringClass, hashCode, name, ordinal, valueOf |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final ResidueEnum AMINO_ACIDS
public static final ResidueEnum AA_BACKBONE
public static final ResidueEnum AA_SIDE_CHAIN
public static final ResidueEnum AA_AND_WATERS
public static final ResidueEnum HETEROGENS
public static final ResidueEnum WATERS
Method Detail |
---|
public static final ResidueEnum[] values()
for(ResidueEnum c : ResidueEnum.values()) System.out.println(c);
public static ResidueEnum valueOf(String name)
name
- the name of the enum constant to be returned.
IllegalArgumentException
- if this enum type has no constant
with the specified namepublic String toString()
toString
in class Enum<ResidueEnum>
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |