public class GeoJSONFeatureCollection<T extends GeoJSONGeometryObject> extends Object implements Validatable
| Constructor and Description |
|---|
GeoJSONFeatureCollection() |
| Modifier and Type | Method and Description |
|---|---|
static <T extends GeoJSONGeometryObject> |
create(List<GeoJSONFeature<T>> features) |
boolean |
equals(Object obj) |
List<GeoJSONFeature<T>> |
getFeatures() |
int |
hashCode() |
GeoJSONFeatureCollection<T> |
setFeatures(List<GeoJSONFeature<T>> features) |
String |
toString() |
List<String> |
toWKT() |
void |
validate()
Checks if the instance is in a valid / useful state.
|
public final String type
public List<GeoJSONFeature<T>> getFeatures()
public GeoJSONFeatureCollection<T> setFeatures(List<GeoJSONFeature<T>> features)
public static <T extends GeoJSONGeometryObject> GeoJSONFeatureCollection<T> create(List<GeoJSONFeature<T>> features)
public void validate()
ValidatableIllegalArgumentException including a description of the
invalid state is thrown.validate in interface ValidatableCopyright © 2018. All rights reserved.