Package com.shaiksphere.mindsmine.jems
Class ObjectHelper
- java.lang.Object
-
- com.shaiksphere.mindsmine.jems.ObjectHelper
-
public final class ObjectHelper extends Object
A collection of useful static methods to deal with objects.- Since:
- 1.0
- Author:
- Mohammed Shaik Hussain Ali
-
-
Method Detail
-
areEqual
public static boolean areEqual(Object object1, Object object2)
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:
Object.equals(Object)
- Both objects are
-
-