M
- the model typeV
- the value type (for the changed property in the model)public static interface Store.Change<M,V>
Modifier and Type | Method and Description |
---|---|
Object |
getChangeTag()
Gets a tag for this change, so that two changes, both making
modifications to the same field, can replace each other, as they must be
mutually exclusive
|
V |
getValue()
Gets the value that will be set on the model in modify(M).
|
boolean |
isCurrentValue(M model)
Checks to see if the given model already has the change
|
void |
modify(M model)
Make the change recorded here to the given model
|
Object getChangeTag()
V getValue()
boolean isCurrentValue(M model)
model
- the modelvoid modify(M model)
model
- the modelCopyright © 2018. All rights reserved.