ch.panter.li.bi.util
Class CompareTool
java.lang.Object
ch.panter.li.bi.util.CompareTool
public final class CompareTool
- extends Object
Method Summary |
static boolean |
areEqual(Object left,
Object right)
Determines whether the two objects are equal, safe to call with any
combination of null arguments. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
areEqual
public static boolean areEqual(Object left,
Object right)
- Determines whether the two objects are equal, safe to call with any
combination of null arguments.
- Parameters:
left
- the first object to compare. may be null.right
- the second object to compare. may be null.
- Returns:
- true if the two objects reference the same instance, are both null or
reference two instances which consider themselves equal as by the contract of
Object.equals()
. false if one of the two parameters is null while
the other isn't or if both are non-null but consider themselves not equal.
Copyright 2007-2007 SourceForge. All Rights Reserved.