gzz.impl
Class AbstractCellManager

gzz.Space gzz.impl.AbstractSpace gzz.CellTexter gzz.VStreamCellTexter gzz.impl.SimpleVStreamTexter gzz.impl.ModularSpace gzz.ObsTrigger gzz.impl.SimpleObsTrigger gzz.IdentityManager gzz.impl.DummyIdentityManager gzz.CellManager gzz.impl.AbstractCellManager gzz.impl.PlainCellManager gzz.DimManager gzz.impl.AbstractDimManager SimpleDim.Manager gzz.diff.DeltaSpace gzz.impl.ModularDeltaSpace gzz.diff.DeltaDimManager gzz.diff.DeltaCellTexter gzz.impl.AbstractDeltaDimManager gzz.impl.SimpleDeltaVStreamTexter ../../../Gzz_Backend.gen.html#modularspace modularspace_small
java.lang.Object
  |
  +--gzz.impl.AbstractCellManager
All Implemented Interfaces:
CellManager
Direct Known Subclasses:
PlainCellManager

public abstract class AbstractCellManager
extends java.lang.Object
implements CellManager

A CellManager which implements the most trivial functions.


Field Summary
protected  java.util.Map cells
          The map: String id to Cell.
protected  Space space
           
 
Fields inherited from interface gzz.impl.CellManager
rcsid
 
Constructor Summary
AbstractCellManager()
           
 
Method Summary
 Cell getCell(java.lang.String id)
          Get a cell by its ID.
protected abstract  Cell makeCell(java.lang.String id)
          Create the Cell object for the cell given by id.
 Cell N(Cell inSlice)
          Create a new cell in the same slice as the given cell.
protected abstract  java.lang.String newCellId(Cell inSlice)
          Give the Id of a new cell in the same slice.
 void setSpace(Space space)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface gzz.impl.CellManager
delete, exists
 

Field Detail

space

protected Space space

cells

protected java.util.Map cells
The map: String id to Cell.

Constructor Detail

AbstractCellManager

public AbstractCellManager()
Method Detail

setSpace

public final void setSpace(Space space)
Specified by:
setSpace in interface CellManager

makeCell

protected abstract Cell makeCell(java.lang.String id)
Create the Cell object for the cell given by id.


newCellId

protected abstract java.lang.String newCellId(Cell inSlice)
Give the Id of a new cell in the same slice.


getCell

public final Cell getCell(java.lang.String id)
Description copied from interface: CellManager
Get a cell by its ID.

Specified by:
getCell in interface CellManager

N

public final Cell N(Cell inSlice)
Description copied from interface: CellManager
Create a new cell in the same slice as the given cell.

Specified by:
N in interface CellManager