|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjebl.evolution.sequences.State
public abstract class State
| Method Summary | |
|---|---|
int |
compareTo(java.lang.Object o)
|
double |
fractionEqual(State other)
Determine how much in common these potentially ambigous states have as a fraction between 0 and 1 2 non-ambiguous states will return 0. |
java.util.Set<State> |
getCanonicalStates()
|
java.lang.String |
getCode()
Returns the 1 letter code for this state. |
java.lang.String |
getFullName()
A descriptive name for this state. |
int |
getIndex()
|
java.lang.String |
getName()
Deprecated. you probably want to use getFullName() or getCode(). |
boolean |
isAmbiguous()
|
abstract boolean |
isGap()
|
boolean |
possiblyEqual(State other)
|
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Method Detail |
|---|
public java.lang.String getCode()
public int getIndex()
public java.lang.String getFullName()
@Deprecated public java.lang.String getName()
getFullName() or getCode().
getCode()
getCode()getFullName()public boolean isAmbiguous()
public java.util.Set<State> getCanonicalStates()
public boolean possiblyEqual(State other)
other - another state to check for the quality with.
public int compareTo(java.lang.Object o)
compareTo in interface java.lang.Comparablepublic java.lang.String toString()
toString in class java.lang.Objectpublic abstract boolean isGap()
public double fractionEqual(State other)
other - another state to compare with
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||