Package ffx.potential.bonded
Enum Class NucleicAcidUtils.NucleicAcid3
- All Implemented Interfaces:
Serializable
,Comparable<NucleicAcidUtils.NucleicAcid3>
,Constable
- Enclosing class:
NucleicAcidUtils
Since enumeration values must start with a letter, an 'M' is added to modified bases whose IUPAC
name starts with an integer.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
-
Method Summary
Modifier and TypeMethodDescriptionBest-guess parse of a String to an NA3.Returns the enum constant of this class with the specified name.static NucleicAcidUtils.NucleicAcid3[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
ADE
-
GUA
-
CYT
-
URI
-
DAD
-
DGU
-
DCY
-
DTY
-
THY
-
MP1
-
DP2
-
TP3
-
UNK
-
M2MG
-
H2U
-
M2G
-
OMC
-
OMG
-
PSU
-
M5MC
-
M7MG
-
M5MU
-
M1MA
-
YYG
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException
- if the argument is null
-
parse
Best-guess parse of a String to an NA3.- Parameters:
name
- Parse to NA3.- Returns:
- Corresponding NA3.
- Throws:
IllegalArgumentException
- For 'DU', which has no implemented NA3.
-