Package com.azure.core.models
Class GeoLineStringCollection
- java.lang.Object
-
- com.azure.core.models.GeoObject
-
- com.azure.core.models.GeoLineStringCollection
-
-
Constructor Summary
Constructors Constructor Description GeoLineStringCollection(List<GeoLineString> lines)Constructs aGeoLineStringCollection.GeoLineStringCollection(List<GeoLineString> lines, GeoBoundingBox boundingBox, Map<String,Object> customProperties)Constructs aGeoLineStringCollection.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)List<GeoLineString>getLines()Unmodifiable representation of thegeometric linesrepresenting this multi-line.GeoObjectTypegetType()Gets the GeoJSON type for this object.inthashCode()-
Methods inherited from class com.azure.core.models.GeoObject
getBoundingBox, getCustomProperties
-
-
-
-
Constructor Detail
-
GeoLineStringCollection
public GeoLineStringCollection(List<GeoLineString> lines)
Constructs aGeoLineStringCollection.- Parameters:
lines- The geometric lines that define the multi-line.- Throws:
NullPointerException- Iflinesisnull.
-
GeoLineStringCollection
public GeoLineStringCollection(List<GeoLineString> lines, GeoBoundingBox boundingBox, Map<String,Object> customProperties)
Constructs aGeoLineStringCollection.- Parameters:
lines- The geometric lines that define the multi-line.boundingBox- Bounding box for the multi-line.customProperties- Additional properties of the multi-line.- Throws:
NullPointerException- Iflinesisnull.
-
-
Method Detail
-
getLines
public List<GeoLineString> getLines()
Unmodifiable representation of thegeometric linesrepresenting this multi-line.- Returns:
- An unmodifiable representation of the
geometric linesrepresenting this multi-line.
-
getType
public GeoObjectType getType()
Description copied from class:GeoObjectGets the GeoJSON type for this object.
-
-