Class DiffSummary.DiffKind

  • Enclosing class:
    DiffSummary

    public static class DiffSummary.DiffKind
    extends java.lang.Object
    The type of difference being summarized.
    • Method Detail

      • getInstance

        public static DiffSummary.DiffKind getInstance​(int diffKind)
                                                throws java.lang.IllegalArgumentException
        Returns:
        The appropriate instance.
        Throws:
        java.lang.IllegalArgumentException - If the diff kind is not recognized.
      • equals

        public boolean equals​(java.lang.Object diffKind)
        Overrides:
        equals in class java.lang.Object
        Parameters:
        diffKind - A DiffKind for comparison.
        Returns:
        Whether both DiffKinds are of the same type.
      • hashCode

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

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
        Returns:
        A textual representation of the type of diff.