Class Difference<T>


  • public class Difference<T>
    extends java.lang.Object
    • Field Detail

      • name

        public final java.lang.String name
    • Constructor Detail

      • Difference

        public Difference​(java.lang.String name,
                          java.util.List<Difference.DiffNode<T>> changes)
      • Difference

        public Difference​(java.lang.String name)
    • Method Detail

      • getName

        public java.lang.String getName()
      • hasNoDifference

        public boolean hasNoDifference()
      • hasDifference

        public boolean hasDifference()
      • add

        public boolean add​(java.lang.String key,
                           T oldValue,
                           T newValue)
      • equals

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

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