uk.ac.man.bioinf.sequence
Interface Element

All Known Subinterfaces:
ComplexElement, DNAResidue, NucleotideResidue, ProteinResidue, Residue, RNAResidue
All Known Implementing Classes:
AminoAcid, DefaultComplexElement, DNANucleotide, Gap, RNANucleotide

public interface Element

Element.java This interface defines an element within a sequence. Implementations of this will be immutable after definition. The interface is designed to be as thin as possible. Two equal elements should represent the same biological element. Created: Sat Feb 26 18:29:35 2000

Version:
$Id: Element.java,v 1.3 2001/04/11 17:04:43 lord Exp $
Author:
J Selley

Method Summary
 char toChar()
          Returns a character representation of this element.
 

Method Detail

toChar

public char toChar()
Returns a character representation of this element. This may be non-alphanumeric, and should be unique within a SequenceType.

Returns:
the char representation
See Also:
SequenceType