public InfluenceMap getBestMap() { int turns = 9999; InfluenceMap current = null; InfluenceMap best = null; for (int i = 0; i < store.size(); i++) { current = (InfluenceMap) store.get(i); if (current.getTurns() < turns) { turns = current.getTurns(); best = current; } current = null; } return best; }