Class EqualsUtil
java.lang.Object
com.aquima.interactions.foundation.utility.EqualsUtil
Utility class that allows easy comparison between objects for equality.
- Since:
- 5.0
- Author:
- O. Kerpershoek
-
Method Summary
Modifier and TypeMethodDescriptionstatic boolean
Indicates whether an object array equals another object array.static boolean
Indicates whether an object equals another object.static boolean
Indicates whether an object equals another object.
-
Method Details
-
equals
Indicates whether an object equals another object. Both object are also equal when they are both null- Parameters:
left
- object to compareright
- object to comparecheckListOrdering
- Check the order of lists- Returns:
- boolean indicating if both objects are equal.
-
equals
Indicates whether an object equals another object. Both object are also equal when they are both null by default the ordering of a list is checked.- Parameters:
left
- object to compareright
- object to compare- Returns:
- boolean indicating if both objects are equal.
-
equals
Indicates whether an object array equals another object array. Both object are also equal when they are both null- Parameters:
left
- object to compareright
- object to compare- Returns:
- boolean indicating if both arrays are equal.
-