Class SimpleOrthoPairSet
- java.lang.Object
-
- org.biojava.utils.AbstractChangeable
-
- org.biojava.bio.program.homologene.AbstractOrthoPairSet
-
- org.biojava.bio.program.homologene.SimpleOrthoPairSet
-
- All Implemented Interfaces:
OrthoPairSet,Changeable
public class SimpleOrthoPairSet extends AbstractOrthoPairSet
a no-frills implementation of a Homologene Group- Author:
- David Huen
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description classSimpleOrthoPairSet.Iterator
-
Field Summary
-
Fields inherited from interface org.biojava.bio.program.homologene.OrthoPairSet
MODIFY
-
-
Constructor Summary
Constructors Constructor Description SimpleOrthoPairSet()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddOrthoPair(OrthoPair orthology)adds a specified OrthoPair relationship to this group.doublegetMinIdentity()get the lowest level of identity observed in this GroupStringgetName()retrieves name of this group.SetgetTaxa()get the taxa represented in this groupOrthoPairSet.Iteratoriterator()returns an iterator to the members of this setvoidremoveOrthoPair(OrthoPair orthology)removes a specified OrthoPair relationship from this group.voidsetName(String name)set the name of this group.intsize()returns an iterator to the contents of the set. /** no. of entries in this Homologene group-
Methods inherited from class org.biojava.bio.program.homologene.AbstractOrthoPairSet
filter
-
Methods inherited from class org.biojava.utils.AbstractChangeable
addChangeListener, addChangeListener, generateChangeSupport, getChangeSupport, hasListeners, hasListeners, isUnchanging, removeChangeListener, removeChangeListener
-
-
-
-
Constructor Detail
-
SimpleOrthoPairSet
public SimpleOrthoPairSet()
-
-
Method Detail
-
getName
public String getName()
Description copied from interface:OrthoPairSetretrieves name of this group. Homologene itself does not assign names or identifiers to groups.
-
setName
public void setName(String name)
Description copied from interface:OrthoPairSetset the name of this group.
-
addOrthoPair
public void addOrthoPair(OrthoPair orthology) throws ChangeVetoException
Description copied from interface:OrthoPairSetadds a specified OrthoPair relationship to this group.- Throws:
ChangeVetoException
-
removeOrthoPair
public void removeOrthoPair(OrthoPair orthology) throws ChangeVetoException
Description copied from interface:OrthoPairSetremoves a specified OrthoPair relationship from this group.- Throws:
ChangeVetoException
-
iterator
public OrthoPairSet.Iterator iterator()
Description copied from interface:OrthoPairSetreturns an iterator to the members of this set
-
getMinIdentity
public double getMinIdentity()
Description copied from interface:OrthoPairSetget the lowest level of identity observed in this Group
-
size
public int size()
Description copied from interface:OrthoPairSetreturns an iterator to the contents of the set. /** no. of entries in this Homologene group
-
getTaxa
public Set getTaxa()
Description copied from interface:OrthoPairSetget the taxa represented in this group
-
-