com.sas.edir.util
Class ObjectOp

java.lang.Object
  |
  +--com.sas.edir.util.ObjectOp

public class ObjectOp
extends java.lang.Object

Object utilities.

Version:
1.0
Author:
SAS

Constructor Summary
ObjectOp()
           
 
Method Summary
static boolean equals(java.lang.Object o1, java.lang.Object o2)
          Compares the two parameters for equality.
static void nullCheck(java.lang.Object object, java.lang.String message)
          Check to see if the object is null.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ObjectOp

public ObjectOp()
Method Detail

equals

public static final boolean equals(java.lang.Object o1,
                                   java.lang.Object o2)
Compares the two parameters for equality.

Parameters:
o1 - The first object to compare.
o2 - The second object to compare.
Returns:
true if the objects are identical, false otherwise.

nullCheck

public static final void nullCheck(java.lang.Object object,
                                   java.lang.String message)
Check to see if the object is null. If it is then throw an exception with the provided message.

Parameters:
object - The first object to check.
message - The message to display if the object was null.