Package pl.poznan.put.protein
Enum AminoAcidTorsionAngle
- java.lang.Object
-
- java.lang.Enum<AminoAcidTorsionAngle>
-
- pl.poznan.put.protein.AminoAcidTorsionAngle
-
- All Implemented Interfaces:
Serializable,Comparable<AminoAcidTorsionAngle>,DisplayableExportable,MasterTorsionAngleType
public enum AminoAcidTorsionAngle extends Enum<AminoAcidTorsionAngle> implements MasterTorsionAngleType
A torsion angle defined for proteins.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description List<TorsionAngleType>angleTypes()StringexportName()StringlongDisplayName()Rangerange(Angle angle)Finds a matching range for the given angle value.StringshortDisplayName()static AminoAcidTorsionAnglevalueOf(String name)Returns the enum constant of this type with the specified name.static AminoAcidTorsionAngle[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
PHI
public static final AminoAcidTorsionAngle PHI
-
PSI
public static final AminoAcidTorsionAngle PSI
-
OMEGA
public static final AminoAcidTorsionAngle OMEGA
-
CALPHA
public static final AminoAcidTorsionAngle CALPHA
-
CHI1
public static final AminoAcidTorsionAngle CHI1
-
CHI2
public static final AminoAcidTorsionAngle CHI2
-
CHI3
public static final AminoAcidTorsionAngle CHI3
-
CHI4
public static final AminoAcidTorsionAngle CHI4
-
CHI5
public static final AminoAcidTorsionAngle CHI5
-
-
Method Detail
-
values
public static AminoAcidTorsionAngle[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (AminoAcidTorsionAngle c : AminoAcidTorsionAngle.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static AminoAcidTorsionAngle valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
angleTypes
public List<TorsionAngleType> angleTypes()
- Specified by:
angleTypesin interfaceMasterTorsionAngleType- Returns:
- The list of basic angle types this type consists of.
-
range
public Range range(Angle angle)
Description copied from interface:MasterTorsionAngleTypeFinds a matching range for the given angle value.- Specified by:
rangein interfaceMasterTorsionAngleType- Parameters:
angle- The angle value to find the range for.- Returns:
- An instance of
Rangewhich incorporates this angle.
-
shortDisplayName
public String shortDisplayName()
- Specified by:
shortDisplayNamein interfaceDisplayableExportable- Returns:
- A short name to be shown in UI summary.
-
longDisplayName
public String longDisplayName()
- Specified by:
longDisplayNamein interfaceDisplayableExportable- Returns:
- A long name to be shown in UI, may contain Unicode.
-
exportName
public String exportName()
- Specified by:
exportNamein interfaceDisplayableExportable- Returns:
- A name to be used during export to output file, should be ASCII only.
-
-