Serializable, Comparable<Transition>public enum Transition extends Enum<Transition>
| Modifier and Type | Class | Description |
|---|---|---|
protected static class |
Transition.Base |
| Enum Constant | Description |
|---|---|
AtoA |
|
AtoC |
|
AtoG |
|
AtoT |
|
CtoA |
|
CtoC |
|
CtoG |
|
CtoT |
|
GtoA |
|
GtoC |
|
GtoG |
|
GtoT |
|
TtoA |
|
TtoC |
|
TtoG |
|
TtoT |
| Modifier and Type | Field | Description |
|---|---|---|
protected static int[] |
baseIndexMap |
| Modifier and Type | Method | Description |
|---|---|---|
static Transition[] |
altValues() |
Like values(), but ignores the ref:ref "transitions".
|
char |
call() |
Gets the call for the transition.
|
Transition |
complement() |
Return the complementary transition.
|
char |
ref() |
Gets the reference for the transition.
|
String |
toString() |
|
static Transition |
transitionOf(char ref,
char call) |
Gets a the enum representing the transition from a 'reference' to a 'call' base.
|
static Transition |
valueOf(String name) |
Returns the enum constant of this type with the specified name.
|
static Transition[] |
values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Transition AtoA
public static final Transition AtoC
public static final Transition AtoG
public static final Transition AtoT
public static final Transition CtoA
public static final Transition CtoC
public static final Transition CtoG
public static final Transition CtoT
public static final Transition GtoA
public static final Transition GtoC
public static final Transition GtoG
public static final Transition GtoT
public static final Transition TtoA
public static final Transition TtoC
public static final Transition TtoG
public static final Transition TtoT
public static Transition[] values()
for (Transition c : Transition.values()) System.out.println(c);
public static Transition 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 Transition transitionOf(char ref, char call)
For example, a transtion from 'A' to 'T' would return AtoT.
ref - reference base (one of of {A, C, T, G}).call - call base (one of of {A, C, T, G}).public static Transition[] altValues()
public Transition complement()
public char ref()
public char call()
public String toString()
toString in class Enum<Transition>