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
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionThis difference's type means that the two objects are not of the same classThis difference's type means that the two objects are collections, but not of the same sizeThis 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 -
Method Summary
Modifier and TypeMethodDescriptionReturns the enum constant of this type with the specified name.static DeepComparator.DifferenceType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
CLASS
This difference's type means that the two objects are not of the same class -
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
This difference's type means that the two objects are collections, but not of the same size
-
-
Method Details
-
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
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 nameNullPointerException
- if the argument is null
-