|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--java.util.Dictionary | +--java.util.Hashtable | +--EASE.Sensing.Specification.CellStore
At present this class just encapsulates a hashtable for storing all the cells.
It has been done as a class incase a more efficient implementation was required later.
Field Summary | |
private Debugger |
debugger
|
private java.util.HashMap |
openFiles
|
private static Specification |
specification
|
Fields inherited from class java.util.Hashtable |
count,
ENTRIES,
entrySet,
KEYS,
keySet,
loadFactor,
modCount,
serialVersionUID,
table,
threshold,
values,
VALUES |
Constructor Summary | |
CellStore()
|
|
CellStore(Specification s)
If Specification is not null CellStore puts cells into the models for display when files are opened. |
Method Summary | |
(package private) void |
|
void |
add(Cell c)
Adds a single cell to the store. |
void |
addVector(java.util.Vector h)
Adds a vector of cells to the store. |
java.util.Vector |
getByCellType(java.lang.Class c)
Returns a Vector containing all the cells from the store that are of Class c. |
java.util.Vector |
getByReturnType(int reqType)
Returns a Vector containing cells of a particular return type |
Cell |
getCell(CellReference cr)
Get Cell back from reference. |
void |
openFile(java.lang.String fName)
Opens up a new file of cells. |
Methods inherited from class java.util.Hashtable |
clear,
clone,
contains,
containsKey,
containsValue,
elements,
entrySet,
equals,
get,
hashCode,
isEmpty,
keys,
keySet,
put,
putAll,
readObject,
rehash,
remove,
size,
toString,
values,
writeObject |
Methods inherited from class java.lang.Object |
finalize,
getClass,
notify,
notifyAll,
registerNatives,
wait,
wait,
wait |
Field Detail |
private java.util.HashMap openFiles
private Debugger debugger
private static Specification specification
Constructor Detail |
public CellStore(Specification s)
Currently called from the constructor of Specification.
public CellStore()
Method Detail |
public java.util.Vector getByCellType(java.lang.Class c)
Could store and watch for changes?
public java.util.Vector getByReturnType(int reqType)
public void openFile(java.lang.String fName)
public Cell getCell(CellReference cr)
public void addVector(java.util.Vector h)
public void add(Cell c)
void()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |