Class ValueDiff<T>

  • Type Parameters:
    T - the type of value being observed
    All Implemented Interfaces:
    IDiff

    public abstract class ValueDiff<T>
    extends java.lang.Object
    implements IDiff
    Since:
    1.0
    • Constructor Detail

      • ValueDiff

        public ValueDiff()
        Creates a value diff.
    • Method Detail

      • getOldValue

        public abstract T getOldValue()
        Returns:
        the old value
      • getNewValue

        public abstract T getNewValue()
        Returns:
        the new value
      • equals

        public boolean equals​(java.lang.Object obj)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object