- Type Parameters:
T- the value type
public interface ValueChange<T>
Represents a value change
-
Method Summary
Modifier and TypeMethodDescriptioncurrent()previous()static <T> ValueChange<T> valueChange(@Nullable T previous, @Nullable T current) Instantiates a newValueChangeinstance
-
Method Details
-
previous
- Returns:
- the previous value
-
current
- Returns:
- the current value
-
valueChange
Instantiates a newValueChangeinstance- Type Parameters:
T- the value type- Parameters:
previous- the previous valuecurrent- the current value- Returns:
- a new
ValueChangeinstance
-