|
GeneThello Home | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.sf.genethello.gametheory.MoveComparator
public class MoveComparator
A comparator used to compare two rated moves.
| Constructor Summary | |
|---|---|
MoveComparator()
Creates a new instance of MoveComparator |
|
| Method Summary | |
|---|---|
int |
compare(Move o1,
Move o2)
Compares two rated moves. |
| 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 MoveComparator()
| Method Detail |
|---|
public int compare(Move o1,
Move o2)
compare in interface java.util.Comparator<Move>o1 - rated move 1o2 - rated move 2
|
GeneThello Home | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||