T
- type of the changed valuepublic class Change<T> extends Object
Constructor and Description |
---|
Change(T oldValue,
T newValue)
constructor
|
Modifier and Type | Method and Description |
---|---|
T |
getNewValue()
the new value
|
T |
getOldValue()
the old value
|
<R> Change<R> |
map(Function<T,R> fn)
Applies a mapping function to both the old and the new value, wrapping the result
in a new Change.
|
Copyright © 2017. All rights reserved.