MoleculeToIndex, MoleculeToMoleculeList, java.io.Serializablepublic class MoleculeToMoleculeListSpecies extends java.lang.Object implements MoleculeToMoleculeList, MoleculeToIndex, java.io.Serializable
| Modifier and Type | Field | Description |
|---|---|---|
protected IMoleculeList |
moleculeList |
|
protected ISpecies |
species |
| Constructor | Description |
|---|---|
MoleculeToMoleculeListSpecies(ISpecies species) |
| Modifier and Type | Method | Description |
|---|---|---|
int |
getIndex(IMolecule atom) |
Returns an integer that this instance associates with the given atom.
|
IMoleculeList |
getMoleculeList(IMolecule molecule) |
Returns the ArrayList that this instance associates with the given atom.
|
void |
setBox(Box box) |
protected IMoleculeList moleculeList
protected final ISpecies species
public MoleculeToMoleculeListSpecies(ISpecies species)
public IMoleculeList getMoleculeList(IMolecule molecule)
MoleculeToMoleculeListgetMoleculeList in interface MoleculeToMoleculeListpublic int getIndex(IMolecule atom)
MoleculeToIndexgetIndex in interface MoleculeToIndexpublic void setBox(Box box)