gzz.impl
Class AbstractDimManager

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.AbstractDimManager
All Implemented Interfaces:
DimManager
Direct Known Subclasses:
AbstractDeltaDimManager, SimpleDim.SimpleDimManager

public abstract class AbstractDimManager
extends java.lang.Object
implements DimManager

A DimManager which implements the most trivial functions.


Field Summary
protected  java.util.Map dims
          The map: Cell id to Dim.
protected  Space space
           
 
Fields inherited from interface gzz.impl.DimManager
rcsid
 
Constructor Summary
AbstractDimManager()
           
 
Method Summary
protected abstract  Dim createDim(Cell name)
          Create the dimension for the given name.
 Dim getDim(Cell id)
          Get a dimension by cell.
 java.util.Set getDims()
          Get the set of all dimensions in this space.
 void setSpace(Space space)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

space

protected Space space

dims

protected java.util.Map dims
The map: Cell id to Dim.

Constructor Detail

AbstractDimManager

public AbstractDimManager()
Method Detail

setSpace

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

createDim

protected abstract Dim createDim(Cell name)
Create the dimension for the given name.


getDim

public final Dim getDim(Cell id)
Description copied from interface: DimManager
Get a dimension by cell. The same Dim object should be returned when this is called with Cells that are clones of each other.

Specified by:
getDim in interface DimManager

getDims

public final java.util.Set getDims()
Description copied from interface: DimManager
Get the set of all dimensions in this space.

Specified by:
getDims in interface DimManager