public final class SilentEqualsHashCodeAndToStringEvaluator extends Object
SilentEqualsHashCodeAndToStringEvaluator evaluates classes in a silent manner| Constructor and Description |
|---|
SilentEqualsHashCodeAndToStringEvaluator() |
| Modifier and Type | Method and Description |
|---|---|
static <T> boolean |
evaluateEqualsHashcodeAndToStringQuietly(Class<T> cls)
Evaluates all the contract conditions for the methods
Object.equals(Object),
Object.hashCode() and Object.toString() from the given Class. |
static <T> boolean |
evaluateEqualsHashcodeAndToStringQuietly(Class<T> cls,
Function<Class<T>,T> function)
Evaluates all the contract conditions for the methods
Object.equals(Object),
Object.hashCode() and Object.toString() from the given Class. |
public SilentEqualsHashCodeAndToStringEvaluator()
public static <T> boolean evaluateEqualsHashcodeAndToStringQuietly(Class<T> cls)
Object.equals(Object),
Object.hashCode() and Object.toString() from the given Class.T - the generic typecls - the classObject.equals(Object),
Object.hashCode() and Object.toString() is given otherwise falsepublic static <T> boolean evaluateEqualsHashcodeAndToStringQuietly(Class<T> cls, Function<Class<T>,T> function)
Object.equals(Object),
Object.hashCode() and Object.toString() from the given Class.T - the generic typecls - the classfunction - the function that can create random objectsObject.equals(Object),
Object.hashCode() and Object.toString() is given otherwise falseCopyright © 2015–2018 Alpha Ro Group UG (haftungsbeschrÀngt). All rights reserved.