Collection playerUnits = Match.getMatches(units, Matches.unitIsOwnedBy(player)); return getTUV(playerUnits, costs);
int tuv = 0; Iterator unitsIter = units.iterator(); while (unitsIter.hasNext()) { Unit u = (Unit) unitsIter.next(); int unitValue = costs.getInt(u.getType()); tuv += unitValue; } return tuv;
    public static int getTUV(Collection units, PlayerID player, IntegerMap costs)    {	Collection playerUnits = Match.getMatches(units, Matches.unitIsOwnedBy(player));	return getTUV(playerUnits, costs);    }