gzz.impl
Class PlainCellManager
java.lang.Object
|
+--gzz.impl.AbstractCellManager
|
+--gzz.impl.PlainCellManager
- All Implemented Interfaces:
- CellManager
- public class PlainCellManager
- extends AbstractCellManager
A CellManager which uses the class Cell directly, and where
all cells exist. Cell ids are urn-5 names generated using a URN5Namespace.
Field Summary |
static java.lang.String |
rcsid
|
Method Summary |
void |
delete(Cell c)
Delete a given cell. |
boolean |
exists(java.lang.String id)
Whether a cell with the given ID exists in this space. |
protected Cell |
makeCell(java.lang.String id)
Create the Cell object for the cell given by id. |
protected java.lang.String |
newCellId(Cell inSlice)
Give the Id of a new cell in the same slice. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
rcsid
public static final java.lang.String rcsid
- See Also:
- Constant Field Values
PlainCellManager
public PlainCellManager()
makeCell
protected Cell makeCell(java.lang.String id)
- Description copied from class:
AbstractCellManager
- Create the Cell object for the cell given by id.
- Specified by:
makeCell
in class AbstractCellManager
newCellId
protected java.lang.String newCellId(Cell inSlice)
- Description copied from class:
AbstractCellManager
- Give the Id of a new cell in the same slice.
- Specified by:
newCellId
in class AbstractCellManager
exists
public boolean exists(java.lang.String id)
- Description copied from interface:
CellManager
- Whether a cell with the given ID exists in this space.
delete
public void delete(Cell c)
- Description copied from interface:
CellManager
- Delete a given cell.