jebl.evolution.sequences
Class TranslatedSequence

java.lang.Object
  extended by jebl.evolution.sequences.FilteredSequence
      extended by jebl.evolution.sequences.TranslatedSequence
All Implemented Interfaces:
Comparable, Sequence, Attributable

public class TranslatedSequence
extends FilteredSequence

Author:
rambaut Date: Jul 27, 2005 Time: 12:48:31 AM

Nested Class Summary
 
Nested classes/interfaces inherited from interface jebl.util.Attributable
Attributable.Utils
 
Constructor Summary
TranslatedSequence(Sequence source, GeneticCode geneticCode)
           
 
Method Summary
protected  State[] filterSequence(Sequence source)
           
 SequenceType getSequenceType()
           
 
Methods inherited from class jebl.evolution.sequences.FilteredSequence
compareTo, getAttribute, getAttributeMap, getAttributeNames, getLength, getState, getStateIndices, getStates, getString, getTaxon, removeAttribute, setAttribute
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TranslatedSequence

public TranslatedSequence(Sequence source,
                          GeneticCode geneticCode)
Method Detail

filterSequence

protected State[] filterSequence(Sequence source)
Specified by:
filterSequence in class FilteredSequence

getSequenceType

public SequenceType getSequenceType()
Specified by:
getSequenceType in interface Sequence
Overrides:
getSequenceType in class FilteredSequence
Returns:
the type of symbols that this sequence is made up of.