I am working on a project which will read data into a list. I have a question in the for loop. How does the Feature city : cities work? I understand that cities is the list, but what does city means? city is not predefined, how does java understand city?
List<Feature> cities = GeoJSONReader.loadData(this, cityFile);
cityMarkers = new ArrayList<Marker>();
for(Feature city : cities) {
cityMarkers.add(new CityMarker(city));
}