|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectglassfrog.players.SeatComparator
public class SeatComparator
Compares the positions of the players. Position 0 is first to act
Constructor Summary | |
---|---|
SeatComparator()
|
Method Summary | |
---|---|
int |
compare(Player o1,
Player o2)
Compares the seats of the players. |
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 |
---|
public SeatComparator()
Method Detail |
---|
public int compare(Player o1, Player o2)
compare
in interface java.util.Comparator<Player>
o1
- Player 1o2
- Player 2
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |