All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.cube.geojson.GeometryCollection Maven / Gradle / Ivy

package com.cube.geojson;

import java.util.ArrayList;
import java.util.Iterator;
import java.util.List;

public class GeometryCollection extends GeoJsonObject implements Iterable
{
	private List geometries = new ArrayList();

	public List getGeometries() {
		return geometries;
	}

	public void setGeometries(List geometries) {
		this.geometries = geometries;
	}

	@Override
	public Iterator iterator() {
		return geometries.iterator();
	}

	public GeometryCollection add(GeoJsonObject geometry) {
		geometries.add(geometry);
		return this;
	}

	@Override public void finishPopulate()
	{

	}
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy