public class GeoCollection extends AbstractGeoJsonObject
| Constructor and Description |
|---|
GeoCollection(AbstractGeoJsonObject firstGeoObject,
AbstractGeoJsonObject... additionalGeoObjects)
Instantiates a new GeometryCollection.
|
GeoCollection(List<AbstractGeoJsonObject> geometries) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
static GeoCollection |
fromDocument(org.bson.Document document) |
int |
hashCode() |
protected org.bson.BsonArray |
toCoordinates() |
String |
toString() |
checkType, toBsonDocumentpublic GeoCollection(List<AbstractGeoJsonObject> geometries)
public GeoCollection(AbstractGeoJsonObject firstGeoObject, AbstractGeoJsonObject... additionalGeoObjects)
firstGeoObject - the first AbstractGeoJsonObjectadditionalGeoObjects - the additional AbstractGeoJsonObjectprotected org.bson.BsonArray toCoordinates()
toCoordinates in class AbstractGeoJsonObjectpublic static GeoCollection fromDocument(org.bson.Document document)
Copyright © 2010-2018 Red Hat, Inc. and others. Licensed under the GNU Lesser General Public License (LGPL), version 2.1 or later.