Java classes to include in your programs. Includes:
HTMLArrayComparator.java: Compares two arrays of Strings of HTML, ignoring embedded tags.
HTMLComparator.java: Compares two Strings of HTML, ignoring embedded tags.
StringComparator.java: Compares two Strings, case sensitive.
StringComparatorIgnoreCase.java: Compares two Strings, case insensitive.
Not useful on its own, though you can run the debugging harness with:
java.exe -jar comparators.jar
Why the orange slice logo? Comparing apples and oranges,
though Comparators are primarily for comparing Objects of
the same class.
Keywords: Comparator, Java, comparison, Comparable, comparing, comparing HTML, default Comparators
|
Click to enlarge
|
|