Enum DeepComparator.DifferenceType

java.lang.Object
java.lang.Enum<DeepComparator.DifferenceType>
com.graphql_java_generator.plugin.test.helper.DeepComparator.DifferenceType
All Implemented Interfaces:
Serializable, Comparable<DeepComparator.DifferenceType>, java.lang.constant.Constable
Enclosing class:
DeepComparator

public static enum DeepComparator.DifferenceType extends Enum<DeepComparator.DifferenceType>
  • Enum Constant Details

    • CLASS

      public static final DeepComparator.DifferenceType CLASS
      This difference's type means that the two objects are not of the same class
    • VALUE

      public static final DeepComparator.DifferenceType VALUE
      This difference's type means that the two objects are of the same class, but:
      • For Collection: there are differences in the content of the collection
      • For other objects: at leasts one attribute has a different value
    • LIST_SIZE

      public static final DeepComparator.DifferenceType LIST_SIZE
      This difference's type means that the two objects are collections, but not of the same size
  • Method Details

    • values

      public static DeepComparator.DifferenceType[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      Returns:
      an array containing the constants of this enum type, in the order they are declared
    • valueOf

      public static DeepComparator.DifferenceType valueOf(String name)
      Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum type has no constant with the specified name
      NullPointerException - if the argument is null