viewtify.edit
Edito.Snapshot<T>
T>T
Snapshot object.
initialT
The snapshoted value. This is immutable.
latestT
The latest value.
Snapshot(Tinitial, kiss.WiseConsumerTrevert, kiss.WiseConsumerTsave)
Tinitial, kiss.WiseConsumerTrevert, kiss.WiseConsumerTsave)Tinitial |
|
kiss.WiseConsumerrevert |
|
kiss.WiseConsumersave |
Hide constructor.
update(Tvalue)SnapshotT
Tvalue)TTvalue |
|
Snapshot |
Update the latest value.
match()boolean
boolean |
Verify if the target object and this snapshotted object have the same value.
revert()void
Revet to the stored value.
save()void
Save data to the backend storage.
clone(Tvalue)T
Tvalue)Tvalue |
|
T |
Clone object.
toString()String
String |