Enum AminoAcid.Property
java.lang.Object
java.lang.Enum<AminoAcid.Property>
com.compomics.util.experiment.biology.aminoacids.AminoAcid.Property
- All Implemented Interfaces:
Serializable
,Comparable<AminoAcid.Property>
,java.lang.constant.Constable
- Enclosing class:
- AminoAcid
public static enum AminoAcid.Property extends Enum<AminoAcid.Property>
Properties of the amino acids.
-
Nested Class Summary
-
Enum Constant Summary
Enum Constants Enum Constant Description basicity
helicity
hydrophobicity
mass
pI
pK1
pK2
pKa
vanDerWaalsVolume
-
Field Summary
-
Method Summary
Modifier and Type Method Description static int
getNProperties()
Returns the number of implemented properties.AminoAcid.Property
getProperty(int index)
Returns the property at index.static AminoAcid.Property
valueOf(String name)
Returns the enum constant of this type with the specified name.static AminoAcid.Property[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
Field Details
-
name
The name of the property.
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
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
-
getNProperties
public static int getNProperties()Returns the number of implemented properties.- Returns:
- the number of implemented properties
-
getProperty
Returns the property at index.- Parameters:
index
- the index- Returns:
- the property at index
-