Betty v1.1.0

christophedelory.betty.better
Class HighestScoreComparator

java.lang.Object
  extended by christophedelory.betty.better.HighestScoreComparator
All Implemented Interfaces:
Comparator<BetterRank>

public class HighestScoreComparator
extends Object
implements Comparator<BetterRank>

A bet score comparison function.

Version:
$Revision$
Author:
Christophe Delory

Constructor Summary
HighestScoreComparator()
           
 
Method Summary
 int compare(BetterRank o1, BetterRank 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

HighestScoreComparator

public HighestScoreComparator()
Method Detail

compare

public int compare(BetterRank o1,
                   BetterRank o2)
Specified by:
compare in interface Comparator<BetterRank>

© 2008-2009 Christophe Delory

Copyright © 2008-2009 Christophe Delory. All Rights Reserved.