com.croftsoft.core.lang
Class ObjectLib
java.lang.Object
com.croftsoft.core.lang.ObjectLib
public final class ObjectLib
- extends Object
A collection of static methods to manipulate java.lang.Object.
- Since:
- 2001-03-23
- Version:
- 2002-02-06
- Author:
- David Wallace Croft
Method Summary |
static boolean |
equivalent(Object object1,
Object object2)
Determines if the objects are equal or are both null. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
EMPTY_OBJECT_ARRAY
public static final Object[] EMPTY_OBJECT_ARRAY
equivalent
public static boolean equivalent(Object object1,
Object object2)
- Determines if the objects are equal or are both null.
- Returns:
- object1 == null ? object2 == null : object1.equals ( object2 );
CroftSoft Core Javadoc (2008-09-28 20:58:02)