|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.googlecode.flyway.core.util.ObjectUtils
public class ObjectUtils
Collection of utility methods for dealing with objects.
| Constructor Summary | |
|---|---|
ObjectUtils()
|
|
| Method Summary | |
|---|---|
static boolean |
nullSafeEquals(java.lang.Object o1,
java.lang.Object o2)
Determine if the given objects are equal, returning true
if both are null or false if only one is
null. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ObjectUtils()
| Method Detail |
|---|
public static boolean nullSafeEquals(java.lang.Object o1,
java.lang.Object o2)
true
if both are null or false if only one is
null.
o1 - first Object to compareo2 - second Object to compare
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||