wt.rule.impl
Class StandardRuleService.CompareByName

java.lang.Object
  extended bywt.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.


Constructor Summary
private StandardRuleService.CompareByName()
           
 
Method Summary
 int compare(Object o1, Object o2)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface java.util.Comparator
equals
 

Constructor Detail

StandardRuleService.CompareByName

private StandardRuleService.CompareByName()
Method Detail

compare

public int compare(Object o1,
                   Object o2)
Specified by:
compare in interface Comparator