|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
SequenceGroup.java This interface defines a SequenceGroup that is capable of storing a collection of sequences. It would usually be expected that the sequences in the group would usually have something in common with each other, being for instance some of the members of a SequenceAlignment, although this is not required. Created: Thu Jun 1 18:09:32 2000
Method Summary | |
void |
addSequenceToGroup(Sequence seq)
Adds a sequence to this group |
void |
clearSequences()
Empty the group of sequences |
boolean |
containsSequence(Sequence seq)
Does this group contain the sequence |
int |
getNumberSequences()
Return the number of sequences in this group. |
Sequence[] |
getSequences()
Get all the sequences in this group. |
Iterator |
iterator()
Returns an iterator of all the sequences. |
void |
removeSequenceFromGroup(Sequence seq)
Removes a sequence from this group |
Method Detail |
public void addSequenceToGroup(Sequence seq)
seq
- the sequencepublic void removeSequenceFromGroup(Sequence seq)
seq
- the sequencepublic boolean containsSequence(Sequence seq)
seq
- the sequence
public Sequence[] getSequences()
public void clearSequences()
public int getNumberSequences()
public Iterator iterator()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |