public final class ValueChanges
extends java.lang.Object
ValueChange
instancesModifier and Type | Method and Description |
---|---|
static <K,V> ValueChange<K,V> |
valueChange(K key,
V currentValue,
V previousValue,
boolean initialization)
Returns a new
ValueChange instance |
public static <K,V> ValueChange<K,V> valueChange(K key, V currentValue, V previousValue, boolean initialization)
ValueChange
instanceK
- the type of the value keyV
- the type of the valuekey
- the key associated with the valuecurrentValue
- the current valuepreviousValue
- the previous valueinitialization
- true if the value was being initializedValueChange
instance