public class ProductionGainComparator extends java.lang.Object implements java.util.Comparator<IProduction>
Modifier and Type | Field and Description |
---|---|
protected boolean |
_randomTieBreaks
Description of the Field
|
Constructor and Description |
---|
ProductionGainComparator(boolean randomTieBreaks)
Constructor for the ProductionGainComparator object
|
Modifier and Type | Method and Description |
---|---|
int |
compare(IProduction one,
IProduction two)
Description of the Method
|
boolean |
equals(java.lang.Object one)
Description of the Method
|
public ProductionGainComparator(boolean randomTieBreaks)
randomTieBreaks
- Description of the Parameterpublic int compare(IProduction one, IProduction two)
compare
in interface java.util.Comparator<IProduction>
one
- Description of the Parametertwo
- Description of the Parameterpublic boolean equals(java.lang.Object one)
equals
in interface java.util.Comparator<IProduction>
equals
in class java.lang.Object
one
- Description of the Parameter