code: private List<Coordinate> getCoordinates(Geometry[] geometries) {
  		List<Coordinate> coordinates = new ArrayList<Coordinate>();
  		for (Geometry geometry : geometries) {
  			addCoordinateArrays(geometry, coordinates);
  		}
  		return coordinates;
  	}
docs: Get a single list of coordinates from an array of geometries.