org.moyoman.client.reference.debug
Class ContinuousDebugPanel.RatedMoveComparator

java.lang.Object
  |
  +--org.moyoman.client.reference.debug.ContinuousDebugPanel.RatedMoveComparator
All Implemented Interfaces:
Comparator
Enclosing class:
ContinuousDebugPanel

private static class ContinuousDebugPanel.RatedMoveComparator
extends Object
implements Comparator

Provides an implementation of Comparator to order RatedMoves from best to worst.

Since:
v0.01
Author:
Jeffrey M. Thompson

Constructor Summary
private ContinuousDebugPanel.RatedMoveComparator()
           
 
Method Summary
 int compare(Object o1, Object 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

ContinuousDebugPanel.RatedMoveComparator

private ContinuousDebugPanel.RatedMoveComparator()
Method Detail

compare

public int compare(Object o1,
                   Object o2)
Specified by:
compare in interface Comparator