Package pl.poznan.put.notation
Enum BR
- java.lang.Object
-
- java.lang.Enum<BR>
-
- pl.poznan.put.notation.BR
-
- All Implemented Interfaces:
Serializable,Comparable<BR>
public enum BR extends Enum<BR>
A base-ribose 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
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringdisplayName()static BRfromString(String candidate)Finds an enum constant that matches the given one or return a predefined UNKNOWN value.static BRvalueOf(String name)Returns the enum constant of this type with the specified name.static BR[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
_0
public static final BR _0
-
_1
public static final BR _1
-
_2
public static final BR _2
-
_3
public static final BR _3
-
_4
public static final BR _4
-
_5
public static final BR _5
-
_6
public static final BR _6
-
_7
public static final BR _7
-
_8
public static final BR _8
-
_9
public static final BR _9
-
UNKNOWN
public static final BR UNKNOWN
-
-
Method Detail
-
values
public static BR[] 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 (BR c : BR.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static BR 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
-
fromString
public static BR fromString(String candidate)
Finds an enum constant that matches the given one or return a predefined UNKNOWN value.- Parameters:
candidate- A string representing a BR value.- Returns:
- An instance of this class that matches given name or UNKNOWN if none does.
-
displayName
public String displayName()
- Returns:
- The default display name.
-
-