SiteFactory
, java.io.Serializable
public static class Cell.CellFactory extends java.lang.Object implements SiteFactory, java.io.Serializable
Constructor | Description |
---|---|
CellFactory() |
Modifier and Type | Method | Description |
---|---|---|
java.lang.Object |
makeSite(AbstractLattice lattice,
int[] coord) |
Constructs a site for placement in a lattice.
|
public java.lang.Object makeSite(AbstractLattice lattice, int[] coord)
SiteFactory
makeSite
in interface SiteFactory
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.