Cell.CellFactory
, CellMolecular.CellFactory
public interface SiteFactory
Modifier and Type | Method | Description |
---|---|---|
java.lang.Object |
makeSite(AbstractLattice lattice,
int[] coord) |
Constructs a site for placement in a lattice.
|
java.lang.Object makeSite(AbstractLattice lattice, int[] coord)
lattice
- the lattice where the site will residecoord
- the index by which the site can be accessed from the lattice. New site should
make its own copy of this if it uses the coord.