MoleculeToIndex
, MoleculeToMoleculeList
, java.io.Serializable
public 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)
MoleculeToMoleculeList
getMoleculeList
in interface MoleculeToMoleculeList
public int getIndex(IMolecule atom)
MoleculeToIndex
getIndex
in interface MoleculeToIndex
public void setBox(Box box)