|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.alee.utils.CompareUtils
public final class CompareUtils
This class provides a set of utilities to compare various objects.
Constructor Summary | |
---|---|
CompareUtils()
|
Method Summary | |
---|---|
static boolean |
contains(java.lang.String text,
java.util.List<java.lang.String> tokens)
Returns whether text contains any of the tokens from the specified list or not. |
static boolean |
equals(java.lang.Object object,
java.lang.Object... compareWith)
Returns whether the first Object equals to any Object from the specified array. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CompareUtils()
Method Detail |
---|
public static boolean equals(java.lang.Object object, java.lang.Object... compareWith)
object
- object to comparecompareWith
- objects to compare with
public static boolean contains(java.lang.String text, java.util.List<java.lang.String> tokens)
text
- text to look for tokenstokens
- tokens list
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |