Class Change<T>

  • Type Parameters:
    T - type of value that was updated

    public class Change<T>
    extends Object
    Generic representation of an update.
    • Constructor Detail

      • Change

        public Change​(T oldValue,
                      T newValue)
    • Method Detail

      • oldValue

        public T oldValue()
        Returns previous value.
        Returns:
        previous value.
      • newValue

        public T newValue()
        Returns new or current value.
        Returns:
        new value.
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object