|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectgames.strategy.triplea.delegate.UnitComparator
public class UnitComparator
| Constructor Summary | |
|---|---|
UnitComparator()
|
|
| Method Summary | |
|---|---|
static java.util.Comparator<Unit> |
getDecreasingAttackComparator(PlayerID player)
|
static java.util.Comparator<Unit> |
getDecreasingCapacityComparator(java.util.List<Unit> transports)
|
static java.util.Comparator<Unit> |
getDecreasingMovementComparator()
|
static java.util.Comparator<Unit> |
getIncreasingCapacityComparator(java.util.List<Unit> transports)
|
static java.util.Comparator<Unit> |
getIncreasingMovementComparator()
|
static java.util.Comparator<Unit> |
getLoadableTransportsComparator(java.util.List<Unit> transports,
Route route,
PlayerID player,
boolean noTies)
Return a Comparator that will order the specified transports in preferred load order. |
static java.util.Comparator<Unit> |
getMovableUnitsComparator(java.util.List<Unit> units,
Route route,
PlayerID player,
boolean noTies)
Return a Comparator that will order the specified units in preferred move order. |
static java.util.Comparator<Unit> |
getUnloadableTransportsComparator(java.util.List<Unit> transports,
Route route,
PlayerID player,
boolean noTies)
Return a Comparator that will order the specified transports in preferred unload order. |
static java.util.Comparator<Unit> |
getUnloadableUnitsComparator(java.util.List<Unit> units,
Route route,
PlayerID player,
boolean noTies)
Return a Comparator that will order the specified units in preferred unload order. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public UnitComparator()
| Method Detail |
|---|
public static java.util.Comparator<Unit> getDecreasingMovementComparator()
public static java.util.Comparator<Unit> getIncreasingMovementComparator()
public static java.util.Comparator<Unit> getIncreasingCapacityComparator(java.util.List<Unit> transports)
public static java.util.Comparator<Unit> getDecreasingCapacityComparator(java.util.List<Unit> transports)
public static java.util.Comparator<Unit> getLoadableTransportsComparator(java.util.List<Unit> transports,
Route route,
PlayerID player,
boolean noTies)
public static java.util.Comparator<Unit> getUnloadableTransportsComparator(java.util.List<Unit> transports,
Route route,
PlayerID player,
boolean noTies)
public static java.util.Comparator<Unit> getMovableUnitsComparator(java.util.List<Unit> units,
Route route,
PlayerID player,
boolean noTies)
public static java.util.Comparator<Unit> getUnloadableUnitsComparator(java.util.List<Unit> units,
Route route,
PlayerID player,
boolean noTies)
public static java.util.Comparator<Unit> getDecreasingAttackComparator(PlayerID player)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||