Package net.sf.freecol.server.ai
Class REFAIPlayer.TargetTuple
- java.lang.Object
-
- net.sf.freecol.server.ai.REFAIPlayer.TargetTuple
-
- All Implemented Interfaces:
java.lang.Comparable<REFAIPlayer.TargetTuple>
- Enclosing class:
- REFAIPlayer
private static class REFAIPlayer.TargetTuple extends java.lang.Object implements java.lang.Comparable<REFAIPlayer.TargetTuple>
Container class for REF target colony information.
-
-
Constructor Summary
Constructors Constructor Description TargetTuple(Colony colony, PathNode path, double score)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
compareTo(REFAIPlayer.TargetTuple other)
boolean
equals(java.lang.Object o)
int
hashCode()
-
-
-
Method Detail
-
compareTo
public int compareTo(REFAIPlayer.TargetTuple other)
- Specified by:
compareTo
in interfacejava.lang.Comparable<REFAIPlayer.TargetTuple>
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
-