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, java.util.List<? extends Geometry> geometries)
Deprecated.Construct an instance with the given list of Geometry objectsGeometryCollection(java.util.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(java.lang.Object o)
Deprecated.java.util.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.java.lang.String
toString()
Deprecated.-
Methods inherited from class com.mongodb.client.model.geojson.Geometry
getCoordinateReferenceSystem, toJson
-
-
-
-
Constructor Detail
-
GeometryCollection
public GeometryCollection(java.util.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, java.util.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 java.util.List<? extends Geometry> getGeometries()
Deprecated.Gets the list of Geometry objects in this collection.- Returns:
- the list
-
toString
public java.lang.String toString()
Deprecated.- Overrides:
toString
in classjava.lang.Object
-
-