
com.cube.geojson.FeatureCollection Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of GeoGson Show documentation
Show all versions of GeoGson Show documentation
Simple dynamic GeoJson parsing utility for Java, with support for Elasticsearch
The newest version!
package com.cube.geojson;
import java.util.ArrayList;
import java.util.Collection;
import java.util.Iterator;
import java.util.List;
public class FeatureCollection extends GeoJsonObject implements Iterable
{
private List features = new ArrayList();
public List getFeatures()
{
return features;
}
public void setFeatures(List features)
{
this.features = features;
}
public FeatureCollection add(Feature feature)
{
features.add(feature);
return this;
}
public void addAll(Collection features)
{
this.features.addAll(features);
}
@Override public Iterator iterator()
{
return features.iterator();
}
@Override public void finishPopulate()
{
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy