org.jfree.util
Class ObjectUtils

java.lang.Object
  extended byorg.jfree.util.ObjectUtils

public class ObjectUtils
extends java.lang.Object

Useful static utility methods.

Author:
David Gilbert

Constructor Summary
ObjectUtils()
           
 
Method Summary
static boolean equalOrBothNull(java.lang.Object o1, java.lang.Object o2)
          Returns true if the two objects are equal OR both null.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ObjectUtils

public ObjectUtils()
Method Detail

equalOrBothNull

public static boolean equalOrBothNull(java.lang.Object o1,
                                      java.lang.Object o2)
Returns true if the two objects are equal OR both null.

Parameters:
o1 - object 1.
o2 - object 2.
Returns:
true or false.