| java.lang.Object abbot.util.ExtendedComparator
ExtendedComparator | public class ExtendedComparator (Code) | | Utility class to perform comparisons.
|
Method Summary | |
public static boolean | equals(Object obj1, Object obj2) Perform element-by-element comparisons of arrays in addition to
regular comparisons. | public static boolean | stringsMatch(String pattern, String actual) Match with a regexp if the pattern contains a ".*" or is bounded by
slashes (/regexp/). |
equals | public static boolean equals(Object obj1, Object obj2)(Code) | | Perform element-by-element comparisons of arrays in addition to
regular comparisons.
|
stringsMatch | public static boolean stringsMatch(String pattern, String actual)(Code) | | Match with a regexp if the pattern contains a ".*" or is bounded by
slashes (/regexp/). Multiline matches are enabled by /(?m)regexp/.
Embedded newlines ("\n") in the match string will then match
end-of-lines.
|
|
|