Class SimpleOrthologueSet
- java.lang.Object
-
- org.biojava.utils.AbstractChangeable
-
- org.biojava.bio.program.homologene.AbstractOrthologueSet
-
- org.biojava.bio.program.homologene.SimpleOrthologueSet
-
- All Implemented Interfaces:
OrthologueSet,Changeable
public class SimpleOrthologueSet extends AbstractOrthologueSet
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description classSimpleOrthologueSet.Iterator
-
Field Summary
-
Fields inherited from interface org.biojava.bio.program.homologene.OrthologueSet
MODIFY
-
-
Constructor Summary
Constructors Constructor Description SimpleOrthologueSet()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddOrthologue(Orthologue ortho)Add an orthologue to the set.OrthologuegetOrthologue(String homologeneID)OrthologueSet.Iteratoriterator()Return an iterator to the contents of the set.voidremoveOrthologue(Orthologue ortho)Remove an orthologue from the set.-
Methods inherited from class org.biojava.bio.program.homologene.AbstractOrthologueSet
filter
-
Methods inherited from class org.biojava.utils.AbstractChangeable
addChangeListener, addChangeListener, generateChangeSupport, getChangeSupport, hasListeners, hasListeners, isUnchanging, removeChangeListener, removeChangeListener
-
-
-
-
Constructor Detail
-
SimpleOrthologueSet
public SimpleOrthologueSet()
-
-
Method Detail
-
addOrthologue
public void addOrthologue(Orthologue ortho) throws ChangeVetoException
Description copied from interface:OrthologueSetAdd an orthologue to the set.- Throws:
ChangeVetoException
-
removeOrthologue
public void removeOrthologue(Orthologue ortho) throws ChangeVetoException
Description copied from interface:OrthologueSetRemove an orthologue from the set.- Throws:
ChangeVetoException
-
getOrthologue
public Orthologue getOrthologue(String homologeneID)
-
iterator
public OrthologueSet.Iterator iterator()
Description copied from interface:OrthologueSetReturn an iterator to the contents of the set.
-
-