public class HtmlComparator extends TextAndNumberComparator
Constructor and Description |
---|
HtmlComparator() |
HtmlComparator(boolean ignoreCase) |
Modifier and Type | Method and Description |
---|---|
int |
compare(java.lang.String o1,
java.lang.String o2)
Will compare the text inside the HTML.
|
boolean |
equals(java.lang.Object o)
Returns true of the other object is an instance of the same class.
|
public HtmlComparator()
public HtmlComparator(boolean ignoreCase)
public int compare(java.lang.String o1, java.lang.String o2)
compare
in interface java.util.Comparator<java.lang.String>
compare
in class TextAndNumberComparator
public boolean equals(java.lang.Object o)
equals
in interface java.util.Comparator<java.lang.String>
equals
in class TextAndNumberComparator
Copyright © Technia AB. All Rights Reserved.