biz.hammurapi.web.menu.matchers
Class MatchResultComparator

java.lang.Object
  extended bybiz.hammurapi.web.menu.matchers.MatchResultComparator
All Implemented Interfaces:
java.util.Comparator

public class MatchResultComparator
extends java.lang.Object
implements java.util.Comparator

Version:
$Revision: 1.1 $
Author:
Pavel Vlasov

Constructor Summary
MatchResultComparator()
           
 
Method Summary
 int compare(java.lang.Object o1, java.lang.Object o2)
          Better matched is less as it should be first in the list
 
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

MatchResultComparator

public MatchResultComparator()
Method Detail

compare

public int compare(java.lang.Object o1,
                   java.lang.Object o2)
Better matched is less as it should be first in the list

Specified by:
compare in interface java.util.Comparator


Copyright © 2006 Hammurapi Group. All Rights Reserved.