viewtify.edit
Edito.Snapshot
<T
>
T
>T
Snapshot object.
initial
T
The snapshoted value. This is immutable.
latest
T
The latest value.
Snapshot
(T
initial
, kiss.WiseConsumerT
revert
, kiss.WiseConsumerT
save
)
T
initial
, kiss.WiseConsumerT
revert
, kiss.WiseConsumerT
save
)T initial |
|
kiss.WiseConsumer revert |
|
kiss.WiseConsumer save |
Hide constructor.
update
(T
value
)
SnapshotT
T
value
)T
T value |
|
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
(T
value
)
T
T
value
)T value |
|
T |
Clone object.
toString
()
String
String |