|
||||||||||
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. |
java.util.Set |
names()
Returns the set of unique table names. |
int |
numTables()
Returns the number of symbol property tables in the database. |
SymbolPropertyTable |
table(java.lang.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 java.lang.NullPointerException
table
- the symbol property table to add.
java.lang.NullPointerException
- if table
is null
.public SymbolPropertyTableIterator tableIterator()
SymbolPropertyTable
objects.
tableIterator
in interface SymbolPropertyTableDB
public int numTables()
numTables
in interface SymbolPropertyTableDB
public SymbolPropertyTable table(java.lang.String name) throws IllegalIDException, java.lang.NullPointerException
table
in interface SymbolPropertyTableDB
name
- the
name
of the table
IllegalIDException
- if no symbol property table with the specified name could be found.
java.lang.NullPointerException
- if name
is
null
.public java.util.Set names()
names
in interface SymbolPropertyTableDB
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |