public class FontSizeComparator extends AbstractFontMatcher implements Comparator<String>
container, left, right| Constructor and Description |
|---|
FontSizeComparator()
Creates a new font size comparator.
|
| Modifier and Type | Method and Description |
|---|---|
int |
compare(String leftValue,
String rightValue) |
boolean |
match(String leftValue,
String rightValue) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitequalspublic FontSizeComparator()
public int compare(String leftValue, String rightValue)
compare in interface Comparator<String>Comparator.compare(Object, Object)public boolean match(String leftValue, String rightValue)
match in interface Matcher<String>match in class DefaultStringMatcherleftValue - the left valuerightValue - the right valuetrue if the left and right values match, false otherwiseMatcher.match(Object, Object)Copyright © 2004–2015 XWiki. All rights reserved.