Package org.biojava.bio.symbol
Class SimpleSymbolPropertyTable
- java.lang.Object
-
- org.biojava.bio.symbol.SimpleSymbolPropertyTable
-
- All Implemented Interfaces:
SymbolPropertyTable
- Direct Known Subclasses:
AAindex
public class SimpleSymbolPropertyTable extends Object implements SymbolPropertyTable
Class that implements the SymbolPropertyTable interface- Author:
- Mike Jones (primary author), David Huen (minor, extended class to cover pK)
-
-
Field Summary
-
Fields inherited from interface org.biojava.bio.symbol.SymbolPropertyTable
AVG_MASS, HYDROPATHICITY, MONO_MASS, PK, PK_Cterm, PK_Nterm
-
-
Constructor Summary
Constructors Constructor Description SimpleSymbolPropertyTable(Alphabet source, String name)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Alphabet
getAlphabet()
double
getDoubleValue(Symbol s)
String
getName()
void
setDoubleProperty(Symbol s, String value)
-
-
-
Constructor Detail
-
SimpleSymbolPropertyTable
public SimpleSymbolPropertyTable(Alphabet source, String name)
-
-
Method Detail
-
setDoubleProperty
public void setDoubleProperty(Symbol s, String value) throws IllegalSymbolException
- Throws:
IllegalSymbolException
-
getName
public String getName()
- Specified by:
getName
in interfaceSymbolPropertyTable
-
getAlphabet
public Alphabet getAlphabet()
- Specified by:
getAlphabet
in interfaceSymbolPropertyTable
-
getDoubleValue
public double getDoubleValue(Symbol s) throws IllegalSymbolException
- Specified by:
getDoubleValue
in interfaceSymbolPropertyTable
- Throws:
IllegalSymbolException
-
-