Package com.shaiksphere.mindsmine.jems
Class ObjectHelper
java.lang.Object
com.shaiksphere.mindsmine.jems.ObjectHelper
A collection of useful static methods to deal with objects.
- Since:
- 1.0
- Author:
- Mohammed Shaik Hussain Ali
-
Method Summary
-
Method Details
-
areEqual
Returnstrue
if the passed values are equal, false otherwise.
Two objects are considered equal if,- Both objects are
null
. - The result of
Object.equals(Object)
is true.
- Parameters:
object1
- to compareobject2
- to compare- Returns:
- whether two objects are equal
- Since:
- 1.0
- See Also:
- Both objects are
-