|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.biojava.bio.program.homologene.SimpleOrthoPair
public class SimpleOrthoPair
A no-frills implementation of the OrthoPair interface
| Constructor Summary | |
|---|---|
SimpleOrthoPair(Orthologue first,
Orthologue second,
SimilarityType type,
double percentIdentity)
constructor for the computed form of an orthology relationship. |
|
SimpleOrthoPair(Orthologue first,
Orthologue second,
String ref)
constructor for the curated form of an orthology relationship |
|
| Method Summary | |
|---|---|
boolean |
equals(Object o)
|
Orthologue |
getFirstOrthologue()
gets the first orthologue in the orthology relationship. |
double |
getPercentIdentity()
get percentage identity. |
String |
getRef()
get reference to evidence for orthology. |
Orthologue |
getSecondOrthologue()
gets the first orthologue in the orthology relationship. |
SimilarityType |
getSimilarity()
gets the second orthologue in the orthology relationship. |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SimpleOrthoPair(Orthologue first,
Orthologue second,
SimilarityType type,
double percentIdentity)
public SimpleOrthoPair(Orthologue first,
Orthologue second,
String ref)
| Method Detail |
|---|
public Orthologue getFirstOrthologue()
OrthoPairI agree that this access route is somewhat sucky for a symmetric relationship but I'd hate returning a Set of orthologues more and all the fiddling would require.
getFirstOrthologue in interface OrthoPairpublic Orthologue getSecondOrthologue()
OrthoPair
getSecondOrthologue in interface OrthoPairpublic SimilarityType getSimilarity()
OrthoPair
getSimilarity in interface OrthoPairpublic double getPercentIdentity()
OrthoPair
getPercentIdentity in interface OrthoPairpublic String getRef()
OrthoPair
getRef in interface OrthoPairpublic boolean equals(Object o)
equals in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||