com.croftsoft.core.lang
Class ObjectLib

java.lang.Object
  extended by 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

Field Summary
static Object[] EMPTY_OBJECT_ARRAY
           
 
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
 

Field Detail

EMPTY_OBJECT_ARRAY

public static final Object[] EMPTY_OBJECT_ARRAY
Method Detail

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 Javadoc

CroftSoft Core Javadoc (2008-09-28 20:58:02)