|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.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 o1,
java.lang.Object o2)
Returns whether the first Object equals to the second Object or not. |
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 o1, java.lang.Object o2)
o1
- first Objecto2
- second Object
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 |