christophedelory.betty.model.rank
Class LocalHighestResultDifferenceRankProcessor
java.lang.Object
christophedelory.betty.model.rank.AbstractLocalRankProcessor
christophedelory.betty.model.rank.LocalHighestResultDifferenceRankProcessor
- All Implemented Interfaces:
- RankProcessor, Comparator<PlayerRank>
public class LocalHighestResultDifferenceRankProcessor
- extends AbstractLocalRankProcessor
- implements Comparator<PlayerRank>
A rank processor which scope is only a given list of players, and based on the difference of player results.
- Version:
- $Revision$
- Author:
- Christophe Delory
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LocalHighestResultDifferenceRankProcessor
public LocalHighestResultDifferenceRankProcessor()
processPhasePlayerRanks
public void processPhasePlayerRanks(LocalPhase dbPhase,
Collection<LocalEvent> dbEvents,
int initialRank,
List<PlayerRank> playerRanksToBeResolved)
throws Exception
- Specified by:
processPhasePlayerRanks
in interface RankProcessor
- Throws:
Exception
compare
public int compare(PlayerRank o1,
PlayerRank o2)
- Specified by:
compare
in interface Comparator<PlayerRank>
Copyright © 2008-2009 Christophe Delory. All Rights Reserved.