Mobios v0.91

mobios.type
Interface Symbol

All Superinterfaces:
Externalizable, Serializable
All Known Implementing Classes:
DNA.DNASymbol, Peptide.AminoAcid, RNA.RNASymbol

public interface Symbol
extends Externalizable

Interface Symbol is implemented for the characters of a biosequence alphabet. Since biosequences often have a long life in an external representation, Symbol alphabets should have a similarly long life, suggesting that they be immutable and easily serializable. In this package, this is accomplished by implementing Symbol sets as java enums. In addition, Sequences using Symbol alphabets include a static public final Alphabet instance, named ALPHABET, that references the enumeration. For example, class Peptide contains the the class Peptide.AminoAcid that implements Symbolfor the common amino acids.

Version:
2003.06.04
Author:
Jack, Rui Mao, Willard

Method Summary
 byte byteValue()
           
 Symbol getSymbol(String s)
           
 String stringValue()
           
 
Methods inherited from interface java.io.Externalizable
readExternal, writeExternal
 

Method Detail

getSymbol

Symbol getSymbol(String s)
Parameters:
s -
Returns:

byteValue

byte byteValue()
Returns:

stringValue

String stringValue()
Returns:

Mobios v0.91

(C) 2002 - 2006 The MoBIoS Group