viewtify

viewtify.edit

Edito.Snapshot<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

Hide constructor.

update(Tvalue)SnapshotT

Tvalue
SnapshotT

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
T

Clone object.

toString()String

String