Package pl.poznan.put.rna
Enum Nucleotide
- java.lang.Object
-
- java.lang.Enum<Nucleotide>
-
- pl.poznan.put.rna.Nucleotide
-
- All Implemented Interfaces:
Serializable,Comparable<Nucleotide>,ResidueInformationProvider
public enum Nucleotide extends Enum<Nucleotide> implements ResidueInformationProvider
A nucleotide (A, C, G, U or T) with all details regarding atoms, torsion angles, etc.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description List<String>aliases()List<ResidueComponent>moleculeComponents()MoleculeTypemoleculeType()Nucleobasenucleobase()charoneLetterName()List<TorsionAngleType>torsionAngleTypes()static NucleotidevalueOf(String name)Returns the enum constant of this type with the specified name.static Nucleotide[]values()Returns an array containing the constants of this enum type, in the order they are declared.-
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
-
Methods inherited from interface pl.poznan.put.pdb.analysis.ResidueInformationProvider
defaultName
-
-
-
-
Enum Constant Detail
-
ADENINE
public static final Nucleotide ADENINE
-
CYTOSINE
public static final Nucleotide CYTOSINE
-
GUANINE
public static final Nucleotide GUANINE
-
URACIL
public static final Nucleotide URACIL
-
THYMINE
public static final Nucleotide THYMINE
-
-
Method Detail
-
values
public static Nucleotide[] 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 (Nucleotide c : Nucleotide.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Nucleotide 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
-
nucleobase
public Nucleobase nucleobase()
- Returns:
- An instance of nucleobase in this nucleotide.
-
moleculeType
public MoleculeType moleculeType()
- Specified by:
moleculeTypein interfaceResidueInformationProvider- Returns:
- The type of molecule of this residue (RNA or protein).
-
moleculeComponents
public List<ResidueComponent> moleculeComponents()
- Specified by:
moleculeComponentsin interfaceResidueInformationProvider- Returns:
- The list of components this residue consists of.
-
oneLetterName
public char oneLetterName()
- Specified by:
oneLetterNamein interfaceResidueInformationProvider- Returns:
- A one letter name to describe this type of residue.
-
aliases
public List<String> aliases()
- Specified by:
aliasesin interfaceResidueInformationProvider- Returns:
- The list of all names this residues may be found in PDB and mmCIF files.
-
torsionAngleTypes
public List<TorsionAngleType> torsionAngleTypes()
- Specified by:
torsionAngleTypesin interfaceResidueInformationProvider- Returns:
- The list of torsion angle types defined for this residue.
-
-