Package com.mongodb.client.model.geojson
Class MultiLineString
- java.lang.Object
-
- com.mongodb.client.model.geojson.Geometry
-
- com.mongodb.client.model.geojson.MultiLineString
-
@Deprecated(since="2021-05-27") public final class MultiLineString extends Geometry
Deprecated.Usage of this API is not supported in AEM as a Cloud Service.A representation of a GeoJSON MultiLineString.- Since:
- 3.1
-
-
Constructor Summary
Constructors Constructor Description MultiLineString(CoordinateReferenceSystem coordinateReferenceSystem, java.util.List<java.util.List<Position>> coordinates)Deprecated.Construct an instance with the given coordinates and coordinate reference system.MultiLineString(java.util.List<java.util.List<Position>> coordinates)Deprecated.Construct an instance with the given coordinates.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description booleanequals(java.lang.Object o)Deprecated.java.util.List<java.util.List<Position>>getCoordinates()Deprecated.Gets the GeoJSON coordinates of this MultiLineStringGeoJsonObjectTypegetType()Deprecated.Gets the GeoJSON object type.inthashCode()Deprecated.java.lang.StringtoString()Deprecated.-
Methods inherited from class com.mongodb.client.model.geojson.Geometry
getCoordinateReferenceSystem, toJson
-
-
-
-
Constructor Detail
-
MultiLineString
public MultiLineString(java.util.List<java.util.List<Position>> coordinates)
Deprecated.Construct an instance with the given coordinates.- Parameters:
coordinates- the coordinates of each line
-
MultiLineString
public MultiLineString(@Nullable CoordinateReferenceSystem coordinateReferenceSystem, java.util.List<java.util.List<Position>> coordinates)Deprecated.Construct an instance with the given coordinates and coordinate reference system.- Parameters:
coordinateReferenceSystem- the coordinate reference systemcoordinates- the coordinates of each line
-
-
Method Detail
-
getType
public GeoJsonObjectType getType()
Deprecated.Description copied from class:GeometryGets the GeoJSON object type.
-
getCoordinates
public java.util.List<java.util.List<Position>> getCoordinates()
Deprecated.Gets the GeoJSON coordinates of this MultiLineString- Returns:
- the coordinates
-
toString
public java.lang.String toString()
Deprecated.- Overrides:
toStringin classjava.lang.Object
-
-