A class that holds data that can be modified. Useful for sharing data between different parts of the code, without having to pass it back and forth.
The type of data to hold.
Create a new ModifiableData instance.
The initial data.
Get the data.
The data.
Set the data.
The new data.
A class that holds data that can be modified. Useful for sharing data between different parts of the code, without having to pass it back and forth.