Package org.damap.base.utils
Class EqualityUtils
java.lang.Object
org.damap.base.utils.EqualityUtils
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic booleannullExclusiveEquals(Object o1, Object o2) Checks the nullability of two objects and compares them for equality.
-
Constructor Details
-
EqualityUtils
public EqualityUtils()
-
-
Method Details
-
nullExclusiveEquals
Checks the nullability of two objects and compares them for equality.- Parameters:
o1- the first objecto2- the second object- Returns:
- false if both are null. if they are equal return true, false otherwise
-