ComparableEvaluator is intended to evaluate Comparable objects.Object.equals(Object) that this method should evaluate the following contract
condition:
It is consistent: for any non-null reference values x and y,
multiple invocations of x.equals(y) consistently return true or consistently
return false, provided no information used in equals comparisons on the
objects is modified.Object.equals(Object) that this method should evaluate the following contract
condition:
It is consistent: for any non-null reference values x and y,
multiple invocations of x.equals(y) consistently return true or consistently
return false, provided no information used in equals comparisons on the
objects is modified.Object.hashCode()
that this method should evaluate the following contract condition:
Whenever it is invoked on the same object more than once during an execution of a Java
application, the hashCode method must consistently return the same integer, provided
no information used in equals comparisons on the object is modified.Object.toString() for the given objects Object.toString() for the given objects ContractViolation is a marker interfaceIllegalArgumentException will be thrown), that means according to
Object.hashCode() that this method should evaluate the following contract condition:
If two objects are equal according to the equals(Object) method, then calling the
hashCode method on each of the two objects must produce the same integer result.Object.equals(Object) and
Object.hashCode().Object.equals(Object) that this method should
evaluate the following contract condition:
It is reflexive: for any non-null reference value x, x.equals(x)
should return true.Object.equals(Object) that this method should
evaluate the following contract condition:
It is reflexive: for any non-null reference value x, x.equals(x)
should return true.EqualsCheck provides algorithms for check the equals
contract of an given object.EqualsContractViolation represents a contract violation as the name let presumeEqualsEvaluator provides algorithms for evaluate the equals
contract of an given object.Object.equals(Object),
Object.hashCode() and Object.toString() from the given Class.Object.equals(Object),
Object.hashCode() and Object.toString() from the given Class.Object.equals(Object) that this method should evaluate the following contract
condition:
It is reflexive: for any non-null reference value x, x.equals(x)
should return true.Object.equals(Object),
Object.hashCode() and Object.toString().EqualsHashCodeAndToStringCheck is a combination of all checks.EqualsHashCodeAndToStringEvaluator is a combination of all evaluators.EqualsHashcodeContractViolation represents a contract violation as the name let
presumeObject.toString()Object.equals(Object) that this method should evaluate the following contract
condition:
It is consistent: for any non-null reference values x and y,
multiple invocations of x.equals(y) consistently return true or consistently
return false, provided no information used in equals comparisons on the
objects is modified.Object.equals(Object) that this method should evaluate the following contract
condition:
It is consistent: for any non-null reference values x and y,
multiple invocations of x.equals(y) consistently return true or consistently
return false, provided no information used in equals comparisons on the
objects is modified.Object.hashCode()
that this method should evaluate the following contract condition:
Whenever it is invoked on the same object more than once during an execution of a Java
application, the hashCode method must consistently return the same integer, provided
no information used in equals comparisons on the object is modified.Object.toString() for the given objects Object.toString() for the given objects IllegalArgumentException will be thrown), that means according to
Object.hashCode() that this method should evaluate the following contract condition:
If two objects are equal according to the equals(Object) method, then calling the
hashCode method on each of the two objects must produce the same integer result.Object.equals(Object) and
Object.hashCode().Object.equals(Object) that this method should
evaluate the following contract condition:
It is reflexive: for any non-null reference value x, x.equals(x)
should return true.Object.equals(Object) that this method should
evaluate the following contract condition:
It is reflexive: for any non-null reference value x, x.equals(x)
should return true.Object.equals(Object),
Object.hashCode() and Object.toString() from the given Class.Object.equals(Object),
Object.hashCode() and Object.toString() from the given Class.EqualsEvaluator.evaluateReflexivityAndNonNull method
in combination with the HashcodeEvaluator.evaluateConsistency and
the ToStringEvaluator.evaluateConsistency method. Object.equals(Object),
Object.hashCode() and Object.toString().Object.equals(Object),
Object.hashCode() and Object.toString() from the given Class.Object.equals(Object),
Object.hashCode() and Object.toString() from the given Class.Object.equals(Object) that this method should evaluate the
following contract condition:
For any non-null reference value x, x.equals(null) should return
false.Object.equals(Object) that this method should evaluate the following contract
condition:
It is reflexive: for any non-null reference value x, x.equals(x)
should return true.Object.equals(Object) that this method should evaluate the following contract
condition:
It is reflexive: for any non-null reference value x, x.equals(x)
should return true.Object.equals(Object) that this method should
evaluate the following contract condition:
It is reflexive: for any non-null reference value x, x.equals(x)
should return true.Object.equals(Object) that
this method should evaluate the following contract condition:
It is reflexive: for any non-null reference value x, x.equals(x)
should return true.Object.equals(Object) that this method should evaluate the following contract
condition:
It is symmetric: for any non-null reference values x and y,
x.equals(y) should return true if and only if y.equals(x) returns
true.Object.equals(Object) that this method should evaluate the
following contract condition:
It is symmetric: for any non-null reference values x and y,
x.equals(y) should return true if and only if y.equals(x) returns
true.Object.equals(Object) that this method should evaluate the following contract
condition:
It is transitive: for any non-null reference values x, y, and
z, if x.equals(y) returns true and y.equals(z) returns
true, then x.equals(z) should return true.IllegalArgumentException will be thrown), that means according to
Object.hashCode() that this method should evaluate the following contract condition:
It is not required that if two objects are unequal according to the
Object.equals(java.lang.Object) method, then calling the hashCode
method on each of the two objects must produce distinct integer results.Object.hashCode()HashcodeCheck provides algorithms for check the
hashcode
contract of an given object.HashcodeContractViolation represents a contract violation as the name let
presumeHashcodeEvaluator provides algorithms for evaluate the
hashcode
contract of an given object.Object.equals(Object) that this method should evaluate the following
contract condition:
For any non-null reference value x, x.equals(null) should return
false.Object.equals(Object) that this method should evaluate the following contract
condition:
It is reflexive: for any non-null reference value x, x.equals(x)
should return true.Object.equals(Object) that this method should evaluate the following contract
condition:
It is reflexive: for any non-null reference value x, x.equals(x)
should return true.Object.equals(Object) that this method should
evaluate the following contract condition:
It is reflexive: for any non-null reference value x, x.equals(x)
should return true.Object.equals(Object) that
this method should evaluate the following contract condition:
It is reflexive: for any non-null reference value x, x.equals(x)
should return true.SilentEqualsHashCodeAndToStringEvaluator evaluates classes in a silent mannerObject.equals(Object) that this method should evaluate the following contract
condition:
It is symmetric: for any non-null reference values x and y,
x.equals(y) should return true if and only if y.equals(x) returns
true.Object.equals(Object) that this method should evaluate the following
contract condition:
It is symmetric: for any non-null reference values x and y,
x.equals(y) should return true if and only if y.equals(x) returns
true.ToStringCheck provides algorithms for evaluate the Object.toString()
method.ToStringContractViolation represents a contract violation as the name let
presumeToStringEvaluator provides algorithms for evaluate the
Object.toString() method.Object.equals(Object) that this method should evaluate the following contract
condition:
It is transitive: for any non-null reference values x, y, and
z, if x.equals(y) returns true and y.equals(z) returns
true, then x.equals(z) should return true.Object.hashCode() that this method should evaluate the following
contract condition:
It is not required that if two objects are unequal according to the
Object.equals(java.lang.Object) method, then calling the hashCode
method on each of the two objects must produce distinct integer results.Copyright © 2015–2018 Alpha Ro Group UG (haftungsbeschrÀngt). All rights reserved.