|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectchemaxon.metabolizer.MetabolizerMemoryImporter
public class MetabolizerMemoryImporter
This class is the memory based implementation of MetabolizerImporter interface
| Constructor Summary | |
|---|---|
MetabolizerMemoryImporter(java.util.List<Molecule> substrates)
|
|
| Method Summary | |
|---|---|
void |
close()
Closes importer. |
long |
getMoleculeCount()
Returns the count of substrates |
boolean |
hasNext()
Returns true if iteration has more substrate |
Molecule |
next()
Retunrs following substrate in the iteration |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public MetabolizerMemoryImporter(java.util.List<Molecule> substrates)
throws MetabolizerIOException
substrates -
MetabolizerIOException| Method Detail |
|---|
public long getMoleculeCount()
throws MetabolizerIOException
MetabolizerImporter
getMoleculeCount in interface MetabolizerImporterMetabolizerIOException
public Molecule next()
throws MetabolizerIOException
MetabolizerImporter
next in interface MetabolizerImporterMetabolizerIOException
public boolean hasNext()
throws MetabolizerIOException
MetabolizerImporter
hasNext in interface MetabolizerImporterMetabolizerIOException
public void close()
throws MetabolizerIOException
MetabolizerImporter
close in interface MetabolizerImporterMetabolizerIOException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||