|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.norconex.commons.lang.EqualsUtil
public final class EqualsUtil
Convenience methods related to object equality.
Method Summary | |
---|---|
static boolean |
equalsAll(Object source,
Object... targets)
Whether a source object equals ALL of the target objects |
static boolean |
equalsAny(Object source,
Object... targets)
Whether a source object equals ANY of the target objects |
static boolean |
equalsNone(Object source,
Object... targets)
Whether a source object equals NONE of the target objects |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static boolean equalsAny(Object source, Object... targets)
source
- object being tested for equality with targetstargets
- one or more objects to be tested with source for equality
true
if any of the target objects is equalpublic static boolean equalsAll(Object source, Object... targets)
source
- object being tested for equality with targetstargets
- one or more objects to be tested with source for equality
true
if all of the target objects is equalpublic static boolean equalsNone(Object source, Object... targets)
source
- object being tested for equality with targetstargets
- one or more objects to be tested with source for equality
true
if none of the target objects is equal
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |