|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.biojava.bio.proteomics.aaindex.SimpleSymbolPropertyTableDB
public class SimpleSymbolPropertyTableDB
A simple implementation of a symbol property table database.
| Constructor Summary | |
|---|---|
SimpleSymbolPropertyTableDB()
Initializes the database. |
|
SimpleSymbolPropertyTableDB(SymbolPropertyTableIterator tableIterator)
Initializes the database by copying all symbol property tables from a given iterator into the database. |
|
| Method Summary | |
|---|---|
void |
addTable(SymbolPropertyTable table)
Adds a symbol property table to the database. |
Set |
names()
Returns the set of unique table names. |
int |
numTables()
Returns the number of symbol property tables in the database. |
SymbolPropertyTable |
table(String name)
Returns the table with the specified name. |
SymbolPropertyTableIterator |
tableIterator()
Returns an iterator over SymbolPropertyTable objects. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SimpleSymbolPropertyTableDB()
public SimpleSymbolPropertyTableDB(SymbolPropertyTableIterator tableIterator)
throws BioException
tableIterator - an iterator over symbol property tables.
BioException - if the symbol property tables could not be
iterated.| Method Detail |
|---|
public void addTable(SymbolPropertyTable table)
throws NullPointerException
table - the symbol property table to add.
NullPointerException - if table is null.public SymbolPropertyTableIterator tableIterator()
SymbolPropertyTable objects.
tableIterator in interface SymbolPropertyTableDBpublic int numTables()
numTables in interface SymbolPropertyTableDB
public SymbolPropertyTable table(String name)
throws IllegalIDException,
NullPointerException
table in interface SymbolPropertyTableDBname - the
name
of the table
IllegalIDException - if no symbol property table with the specified name could be found.
NullPointerException - if name is
null.public Set names()
names in interface SymbolPropertyTableDB
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||