public enum NucleotideFamily extends Enum<NucleotideFamily> implements StructuralFamily<NucleotideFamily>
| Enum Constant and Description |
|---|
ADENOSINE |
CYTIDINE |
DESOXYADENOSINE |
DESOXYCYTIDINE |
DESOXYGUANOSINE |
DESOXYTHYMIDINE |
DESOXYURIDINE |
GUANOSINE |
THYMIDINE |
UNKNOWN |
URIDINE |
| Modifier and Type | Method and Description |
|---|---|
static Optional<NucleotideFamily> |
getNucleotide(char nucleotide) |
static Optional<NucleotideFamily> |
getNucleotideByThreeLetterCode(String threeLetterCode) |
String |
getOneLetterCode() |
String |
getThreeLetterCode() |
static NucleotideFamily |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static NucleotideFamily[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOfcompareTopublic static final NucleotideFamily ADENOSINE
public static final NucleotideFamily DESOXYADENOSINE
public static final NucleotideFamily GUANOSINE
public static final NucleotideFamily DESOXYGUANOSINE
public static final NucleotideFamily THYMIDINE
public static final NucleotideFamily DESOXYTHYMIDINE
public static final NucleotideFamily URIDINE
public static final NucleotideFamily DESOXYURIDINE
public static final NucleotideFamily CYTIDINE
public static final NucleotideFamily DESOXYCYTIDINE
public static final NucleotideFamily UNKNOWN
public static NucleotideFamily[] values()
for (NucleotideFamily c : NucleotideFamily.values()) System.out.println(c);
public static NucleotideFamily valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic static Optional<NucleotideFamily> getNucleotideByThreeLetterCode(String threeLetterCode)
public static Optional<NucleotideFamily> getNucleotide(char nucleotide)
public String getOneLetterCode()
getOneLetterCode in interface StructuralFamily<NucleotideFamily>public String getThreeLetterCode()
getThreeLetterCode in interface StructuralFamily<NucleotideFamily>Copyright © 2018. All rights reserved.