public class GeoJsonGeometryCollection extends Object implements GeoJson<Iterable<GeoJson<?>>>
GeoJsonGeometryCollection that consists of a List of GeoJson objects.| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
Iterable<GeoJson<?>> |
getCoordinates()
The value of the coordinates member is always an
Iterable. |
List<GeoJson<?>> |
getGeometries() |
String |
getType()
String value representing the type of the
GeoJson object. |
int |
hashCode() |
static GeoJsonGeometryCollection |
of(List<GeoJson<?>> geometries)
Creates a new
GeoJsonGeometryCollection for the given GeoJson instances. |
String |
toString() |
public static final String TYPE
public static GeoJsonGeometryCollection of(List<GeoJson<?>> geometries)
GeoJsonGeometryCollection for the given GeoJson instances.geometries - must not be null.public String getType()
GeoJsonGeoJson object.getType in interface GeoJson<Iterable<GeoJson<?>>>public Iterable<GeoJson<?>> getCoordinates()
GeoJsonIterable. The structure for the elements within is
determined by GeoJson.getType() of geometry.getCoordinates in interface GeoJson<Iterable<GeoJson<?>>>Copyright © 2011–2021 Pivotal Software, Inc.. All rights reserved.