wt.rule.impl
Class StandardRuleService.CompareByName
java.lang.Object
wt.rule.impl.StandardRuleService.CompareByName
- All Implemented Interfaces:
- Comparator
- Enclosing class:
- StandardRuleService
- private static final class StandardRuleService.CompareByName
- extends Object
- implements Comparator
A comparator that can be used to determine if two rules have the
same name. Returns 0
if the names are equal and
-1
otherwise.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
StandardRuleService.CompareByName
private StandardRuleService.CompareByName()
compare
public int compare(Object o1,
Object o2)
- Specified by:
compare
in interface Comparator