hoplugins.teamAnalyzer.comparator
Class PerformanceComparator

java.lang.Object
  extended byhoplugins.teamAnalyzer.comparator.PerformanceComparator
All Implemented Interfaces:
java.util.Comparator

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

Comparator that orders based on number of performanceand rating as secondary parameter

Author:
Massimiliano Amato

Constructor Summary
PerformanceComparator()
           
 
Method Summary
 int compare(java.lang.Object o1, java.lang.Object o2)
          Compare two objects
 
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

PerformanceComparator

public PerformanceComparator()
Method Detail

compare

public int compare(java.lang.Object o1,
                   java.lang.Object o2)
Compare two objects

Specified by:
compare in interface java.util.Comparator
Parameters:
o1 -
o2 -
Returns:


Copyright © 2005 Hattrick Organizer Plugins Project. All Rights Reserved.