abbot.util
Class ExtendedComparator
java.lang.Object
|
+--abbot.util.ExtendedComparator
- public class ExtendedComparator
- extends Object
Utility class to perform comparisons.
Method Summary |
static boolean |
equals(Object obj1,
Object obj2)
Perform piecewise comparisons of arrays in addition to regular
comparisons. |
static boolean |
stringsMatch(String pattern,
String actual)
Match with a regexp if the pattern contains a ".*" or is bounded by
slashes (/regexp/). |
Methods inherited from class java.lang.Object |
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
stringsMatch
public static boolean stringsMatch(String pattern,
String actual)
- Match with a regexp if the pattern contains a ".*" or is bounded by
slashes (/regexp/). Requiring exact matches eliminates the need to
always include the start "^" and finish "$" symbols.
equals
public static boolean equals(Object obj1,
Object obj2)
- Perform piecewise comparisons of arrays in addition to regular
comparisons.
Copyright © 2002-2003 Timothy Wall. All Rights Reserved.
Abbot is hosted on