Package pl.poznan.put.notation
Enum BPh
- All Implemented Interfaces:
Serializable
,Comparable<BPh>
,java.lang.constant.Constable
A base-phosphate notation described in: Classification and Energetics of the Base-Phosphate
Interactions in RNA. C.L. Zirbel, J.E. Šponer, J. Šponer, J. Stombaugh, N.B. Leontis. Nucleic
Acids Research. 2009. 37(15):4898–4918. doi:10.1093/nar/gkp468
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum Constants -
Method Summary
Modifier and TypeMethodDescriptionstatic BPh
fromString
(String candidate) Finds an enum constant that matches the given one or return a predefined UNKNOWN value.static BPh
Returns the enum constant of this type with the specified name.static BPh[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
_0
-
_1
-
_2
-
_3
-
_4
-
_5
-
_6
-
_7
-
_8
-
_9
-
UNKNOWN
-
-
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
-
fromString
Finds an enum constant that matches the given one or return a predefined UNKNOWN value.- Parameters:
candidate
- A string representing a BPh value.- Returns:
- An instance of this class that matches given name or UNKNOWN if none does.
-
displayName
- Returns:
- The default display name.
-