- Enclosing interface:
public static interface Memory.MemoryListenerThe listener interface for receiving memory related events.
The class that is interested in processing a memory event implements this interface, and the object created with that class is registered with a memory, using the memory's
addMemoryListenermethod. Memory events occur even if single cell is changed in memory and then is invoked
void memoryChanged(int memoryPosition)Invoked when a single memory cell is changed.
memoryPosition- memory position (address) of changed cell
void memorySizeChanged()Some memories can be dynamic-sized. This method is invoked when memory size has changed.