## 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
`SimpleSymbolPropertyTable(Alphabet source, String name)`

Method Summary
`Alphabet` `getAlphabet()`
`double` `getDoubleValue(Symbol s)`
`String` `getName()`
`void` `setDoubleProperty(Symbol s, String value)`

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

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 interface `SymbolPropertyTable`

### getAlphabet

    public Alphabet getAlphabet()

  Specified by:
    `getAlphabet` in interface `SymbolPropertyTable`

### getDoubleValue

    public double getDoubleValue(Symbol s)
                          throws IllegalSymbolException

  Specified by:
    `getDoubleValue` in interface `SymbolPropertyTable`
  Throws:
    `IllegalSymbolException`