net.jetrix.winlist
Class ScoreComparator
java.lang.Object
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
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ScoreComparator
public ScoreComparator()
compare
public int compare(Object o1,
Object o2)
- Specified by:
compare
in interface Comparator
Copyright © 2001-2008 Emmanuel Bourg. All Rights Reserved.