Package com.mongodb.client.model.geojson
Class GeometryCollection
- java.lang.Object
-
- com.mongodb.client.model.geojson.Geometry
-
- com.mongodb.client.model.geojson.GeometryCollection
-
@Deprecated(since="2021-05-27") public final class GeometryCollection extends Geometry
Deprecated.Usage of this API is not supported in AEM as a Cloud Service.A representation of a GeoJSON GeometryCollection.- Since:
- 3.1
-
-
Constructor Summary
Constructors Constructor Description GeometryCollection(CoordinateReferenceSystem coordinateReferenceSystem, List<? extends Geometry> geometries)
Deprecated.Construct an instance with the given list of Geometry objectsGeometryCollection(List<? extends Geometry> geometries)
Deprecated.Construct an instance with the given list of Geometry objects
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description boolean
equals(Object o)
Deprecated.List<? extends Geometry>
getGeometries()
Deprecated.Gets the list of Geometry objects in this collection.GeoJsonObjectType
getType()
Deprecated.Gets the GeoJSON object type.int
hashCode()
Deprecated.String
toString()
Deprecated.-
Methods inherited from class com.mongodb.client.model.geojson.Geometry
getCoordinateReferenceSystem, toJson
-
-
-
-
Constructor Detail
-
GeometryCollection
public GeometryCollection(List<? extends Geometry> geometries)
Deprecated.Construct an instance with the given list of Geometry objects- Parameters:
geometries
- the list of Geometry objects
-
GeometryCollection
public GeometryCollection(@Nullable CoordinateReferenceSystem coordinateReferenceSystem, List<? extends Geometry> geometries)
Deprecated.Construct an instance with the given list of Geometry objects- Parameters:
coordinateReferenceSystem
- the coordinate reference systemgeometries
- the list of Geometry objects
-
-
Method Detail
-
getType
public GeoJsonObjectType getType()
Deprecated.Description copied from class:Geometry
Gets the GeoJSON object type.
-
getGeometries
public List<? extends Geometry> getGeometries()
Deprecated.Gets the list of Geometry objects in this collection.- Returns:
- the list
-
-