org.epics.pvmanager.util
Class NullUtils

java.lang.Object
  extended by org.epics.pvmanager.util.NullUtils

public class NullUtils
extends java.lang.Object

Utility class to handle null values.

Author:
carcassi

Constructor Summary
NullUtils()
           
 
Method Summary
static boolean equalsOrBothNull(java.lang.Object obj1, java.lang.Object obj2)
          Returns true if both objects are null or they are equal.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NullUtils

public NullUtils()
Method Detail

equalsOrBothNull

public static boolean equalsOrBothNull(java.lang.Object obj1,
                                       java.lang.Object obj2)
Returns true if both objects are null or they are equal.

Parameters:
obj1 - first object
obj2 - second object
Returns:
true if equals or both are null