|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcz.cvut.agents.rph.reversi.PlayerResult.PlayerResultComparator
private static class PlayerResult.PlayerResultComparator
Compares PlayerResult
s according to games won, then according to stones gathered.
Constructor Summary | |
---|---|
private |
PlayerResult.PlayerResultComparator()
|
Method Summary | |
---|---|
int |
compare(PlayerResult player1,
PlayerResult player2)
|
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 |
---|
private PlayerResult.PlayerResultComparator()
Method Detail |
---|
public int compare(PlayerResult player1, PlayerResult player2)
compare
in interface java.util.Comparator<PlayerResult>
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |