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 boolean
equals(Object obj)
List<GeoLineString>
getLines()
Unmodifiable representation of thegeometric lines
representing this multi-line.GeoObjectType
getType()
Gets the GeoJSON type for this object.int
hashCode()
-
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
- Iflines
isnull
.
-
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
- Iflines
isnull
.
-
-
Method Detail
-
getLines
public List<GeoLineString> getLines()
Unmodifiable representation of thegeometric lines
representing this multi-line.- Returns:
- An unmodifiable representation of the
geometric lines
representing this multi-line.
-
getType
public GeoObjectType getType()
Description copied from class:GeoObject
Gets the GeoJSON type for this object.
-
-