|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--uk.ac.man.bioinf.sequence.group.AbstractGappedSequenceGroup | +--uk.ac.man.bioinf.sequence.group.DefaultGappedSequenceGroup
DefaultGappedSequenceGroup.java Created: Thu Jun 1 18:33:14 2000
Constructor Summary | |
DefaultGappedSequenceGroup()
|
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 |
GappedSequence |
getGappedSequenceAt(int index)
|
int |
getNumberSequences()
Return the number of sequences in this group. |
Sequence |
getSequenceAt(int index)
|
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 |
Methods inherited from class uk.ac.man.bioinf.sequence.group.AbstractGappedSequenceGroup |
getGappedSequences |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public DefaultGappedSequenceGroup()
Method Detail |
public void addSequenceToGroup(Sequence seq)
SequenceGroup
seq
- the sequencepublic void removeSequenceFromGroup(Sequence seq)
SequenceGroup
seq
- the sequencepublic boolean containsSequence(Sequence seq)
SequenceGroup
seq
- the sequence
public Sequence[] getSequences()
SequenceGroup
public void clearSequences()
SequenceGroup
public int getNumberSequences()
SequenceGroup
public Sequence getSequenceAt(int index)
public GappedSequence getGappedSequenceAt(int index)
public Iterator iterator()
SequenceGroup
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |