net.jetrix.winlist
Class ScoreComparator

java.lang.Object
  extended by net.jetrix.winlist.ScoreComparator
All Implemented Interfaces:
Comparator

public class ScoreComparator
extends Object
implements Comparator

A Comparator for the winlist scores. Scores are sorted in descending order, hence score(200) < score(100).

Version:
$Revision: 337 $, $Date: 2003-12-08 03:01:22 +0100 (lun., 08 déc. 2003) $
Author:
Emmanuel Bourg

Constructor Summary
ScoreComparator()
           
 
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

ScoreComparator

public ScoreComparator()
Method Detail

compare

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


Copyright © 2001-2008 Emmanuel Bourg. All Rights Reserved.