net.sf.freecol.client.gui.panel
Class SelectDestinationDialog.DestinationComparator

java.lang.Object
  extended by net.sf.freecol.client.gui.panel.SelectDestinationDialog.DestinationComparator
All Implemented Interfaces:
java.util.Comparator<SelectDestinationDialog.Destination>
Enclosing class:
SelectDestinationDialog

private class SelectDestinationDialog.DestinationComparator
extends java.lang.Object
implements java.util.Comparator<SelectDestinationDialog.Destination>


Field Summary
private  Player owner
           
 
Constructor Summary
SelectDestinationDialog.DestinationComparator(Player player)
           
 
Method Summary
 int compare(SelectDestinationDialog.Destination choice1, SelectDestinationDialog.Destination choice2)
           
 
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
 

Field Detail

owner

private Player owner
Constructor Detail

SelectDestinationDialog.DestinationComparator

public SelectDestinationDialog.DestinationComparator(Player player)
Method Detail

compare

public int compare(SelectDestinationDialog.Destination choice1,
                   SelectDestinationDialog.Destination choice2)
Specified by:
compare in interface java.util.Comparator<SelectDestinationDialog.Destination>