Package com.azure.core.models
Class GeoLineStringCollection
java.lang.Object
com.azure.core.models.GeoObject
com.azure.core.models.GeoLineStringCollection
Represents a collection of
GeoLines
.-
Constructor Summary
ConstructorDescriptionGeoLineStringCollection
(List<GeoLineString> lines) Constructs aGeoLineStringCollection
.GeoLineStringCollection
(List<GeoLineString> lines, GeoBoundingBox boundingBox, Map<String, Object> customProperties) Constructs aGeoLineStringCollection
. -
Method Summary
Modifier and TypeMethodDescriptionboolean
getLines()
Unmodifiable representation of thegeometric lines
representing this multi-line.getType()
Gets the GeoJSON type for this object.int
hashCode()
Methods inherited from class com.azure.core.models.GeoObject
getBoundingBox, getCustomProperties
-
Constructor Details
-
GeoLineStringCollection
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 Details
-
getLines
Unmodifiable representation of thegeometric lines
representing this multi-line.- Returns:
- An unmodifiable representation of the
geometric lines
representing this multi-line.
-
getType
Description copied from class:GeoObject
Gets the GeoJSON type for this object. -
hashCode
public int hashCode() -
equals
-