Class Diffy.Result

  • Enclosing class:
    Diffy

    public static class Diffy.Result
    extends java.lang.Object
    Contains the unmatched fields from the Diffy operation. A sucessful/identical match returns isEmpty() == true.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      java.lang.Object actual  
      java.lang.Object expected  
    • Constructor Summary

      Constructors 
      Constructor Description
      Result()  
      Result​(java.lang.Object expected, java.lang.Object actual)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean isEmpty()  
      java.lang.String toString()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Field Detail

      • expected

        public java.lang.Object expected
      • actual

        public java.lang.Object actual
    • Constructor Detail

      • Result

        public Result()
      • Result

        public Result​(java.lang.Object expected,
                      java.lang.Object actual)
    • Method Detail

      • isEmpty

        public boolean isEmpty()
      • toString

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