|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Data
A fixed size chunk of data which can be read and written to and from a store.
| Method Summary | |
|---|---|
Data |
copy()
Creates a clone of this data. |
int |
getActualLocation()
Returns the actual location of this Data in its store with respect to the parent if one exists. |
int |
getLocation()
Returns the location in bytes of this variable in the store. |
Data |
getParent()
Returns the parent Data object if one exists. |
int |
getSize()
Returns the size of this variable in a store. |
Store |
getStore()
Returns the store this variable is read and written to and from. |
void |
read()
Reads the value from the store at the location. |
void |
read(int offset)
Reads the value from the store at the location with the given offset. |
void |
read(int offset,
Store store)
Reads the value from the given store at the location with the given offset. |
void |
read(Store store)
Reads the value from the given store at the location. |
void |
setLocation(int newLocation)
Sets the location in bytes of this variable in the store. |
void |
setParent(Data parent)
Sets the parent Data object. |
void |
setStore(Store newStore)
Sets the store this variable is read and written to and from. |
void |
write()
Writes the value to the store at the location. |
void |
write(int offset)
Writes the value to the store at the location with the given offset. |
void |
write(int offset,
Store store)
Writes the value to the given store at the location with the given offset. |
void |
write(Store store)
Writes the value to the given store at the location. |
| Method Detail |
|---|
void read()
void read(int offset)
offset - The offset from the location to read the value.void read(Store store)
store - The store to read from.
void read(int offset,
Store store)
offset - The offset from the location to read the value.store - The store to read from.void write()
void write(int offset)
offset - The offset from the location to write the value.void write(Store store)
store - The store to write to.
void write(int offset,
Store store)
offset - The offset from the location to write the value.store - The store to write to.int getSize()
int getLocation()
void setLocation(int newLocation)
newLocation - The offset in bytes from beginning of the store.Store getStore()
void setStore(Store newStore)
newStore - The new store of this variable.Data copy()
Data getParent()
void setParent(Data parent)
parent - The parent Data object.int getActualLocation()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||