hoplugins.teamAnalyzer.comparator
Class RosterPlayerComparator

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

public class RosterPlayerComparator
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
RosterPlayerComparator()
           
 
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

RosterPlayerComparator

public RosterPlayerComparator()
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.