Betty v1.1.0

christophedelory.betty.model.rank
Class RankComparator

java.lang.Object
  extended by christophedelory.betty.model.rank.RankComparator
All Implemented Interfaces:
Comparator<PlayerRank>

public class RankComparator
extends Object
implements Comparator<PlayerRank>

A player rank comparison function.

Version:
$Revision$
Author:
Christophe Delory

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

RankComparator

public RankComparator()
Method Detail

compare

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

© 2008-2009 Christophe Delory

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