edu.indiana.util.ensemble
Class SuggestionSetMemberComparator

java.lang.Object
  extended by edu.indiana.util.ensemble.SuggestionSetMemberComparator
All Implemented Interfaces:
java.util.Comparator

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


Constructor Summary
SuggestionSetMemberComparator()
          Creates a new instance of SuggestionSetMemberComparator
 
Method Summary
 int compare(java.lang.Object o1, java.lang.Object o2)
          According to this comparator, the maximum strength SuggestionSet member should be first, so it is called the "smallest".
 
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

SuggestionSetMemberComparator

public SuggestionSetMemberComparator()
Creates a new instance of SuggestionSetMemberComparator

Method Detail

compare

public int compare(java.lang.Object o1,
                   java.lang.Object o2)
According to this comparator, the maximum strength SuggestionSet member should be first, so it is called the "smallest".

Specified by:
compare in interface java.util.Comparator