azure-docs-sdk-java/docs-ref-autogen/com.azure.core.models.GeoCo...

138 строки
12 KiB
YAML

### YamlMime:JavaType
uid: "com.azure.core.models.GeoCollection"
fullName: "com.azure.core.models.GeoCollection"
name: "GeoCollection"
nameWithType: "GeoCollection"
summary: "Represents a heterogeneous collection of <xref uid=\"com.azure.core.models.GeoObject\" data-throw-if-not-resolved=\"false\" data-raw-source=\"GeoObjects\"></xref>."
inheritances:
- "<xref href=\"java.lang.Object?displayProperty=fullName\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"com.azure.core.models.GeoObject?displayProperty=fullName\" data-throw-if-not-resolved=\"False\" />"
inheritedClassMethods:
- classRef: "<xref href=\"com.azure.core.models.GeoObject?alt=com.azure.core.models.GeoObject&text=GeoObject\" data-throw-if-not-resolved=\"False\" />"
methodsRef:
- "<xref href=\"com.azure.core.models.GeoObject.equals(java.lang.Object)?alt=com.azure.core.models.GeoObject.equals&text=equals\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"com.azure.core.models.GeoObject.fromJson(com.azure.json.JsonReader)?alt=com.azure.core.models.GeoObject.fromJson&text=fromJson\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"com.azure.core.models.GeoObject.getBoundingBox()?alt=com.azure.core.models.GeoObject.getBoundingBox&text=getBoundingBox\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"com.azure.core.models.GeoObject.getCustomProperties()?alt=com.azure.core.models.GeoObject.getCustomProperties&text=getCustomProperties\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"com.azure.core.models.GeoObject.getType()?alt=com.azure.core.models.GeoObject.getType&text=getType\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"com.azure.core.models.GeoObject.hashCode()?alt=com.azure.core.models.GeoObject.hashCode&text=hashCode\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"com.azure.core.models.GeoObject.toJson(com.azure.json.JsonWriter)?alt=com.azure.core.models.GeoObject.toJson&text=toJson\" data-throw-if-not-resolved=\"False\" />"
- classRef: "java.lang.<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html\">Object</a>"
methodsRef:
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#clone--\">clone</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#finalize--\">finalize</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#getClass--\">getClass</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#notify--\">notify</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#notifyAll--\">notifyAll</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#toString--\">toString</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait--\">wait</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait-long-\">wait</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait-long-int-\">wait</a>"
syntax: "public final class **GeoCollection**</br> extends <xref href=\"com.azure.core.models.GeoObject?alt=com.azure.core.models.GeoObject&text=GeoObject\" data-throw-if-not-resolved=\"False\" />"
constructors:
- uid: "com.azure.core.models.GeoCollection.GeoCollection(java.util.List<com.azure.core.models.GeoObject>)"
fullName: "com.azure.core.models.GeoCollection.GeoCollection(List<GeoObject> geometries)"
name: "GeoCollection(List<GeoObject> geometries)"
nameWithType: "GeoCollection.GeoCollection(List<GeoObject> geometries)"
summary: "Constructs a <xref uid=\"com.azure.core.models.GeoCollection\" data-throw-if-not-resolved=\"false\" data-raw-source=\"GeoCollection\"></xref>."
parameters:
- description: "The geometries in the collection."
name: "geometries"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/util/List.html\">List</a>&lt;<xref href=\"com.azure.core.models.GeoObject?alt=com.azure.core.models.GeoObject&text=GeoObject\" data-throw-if-not-resolved=\"False\" />&gt;"
syntax: "public GeoCollection(List<GeoObject> geometries)"
desc: "Constructs a <xref uid=\"com.azure.core.models.GeoCollection\" data-throw-if-not-resolved=\"false\" data-raw-source=\"GeoCollection\"></xref>."
- uid: "com.azure.core.models.GeoCollection.GeoCollection(java.util.List<com.azure.core.models.GeoObject>,com.azure.core.models.GeoBoundingBox,java.util.Map<java.lang.String,java.lang.Object>)"
fullName: "com.azure.core.models.GeoCollection.GeoCollection(List<GeoObject> geometries, GeoBoundingBox boundingBox, Map<String,Object> customProperties)"
name: "GeoCollection(List<GeoObject> geometries, GeoBoundingBox boundingBox, Map<String,Object> customProperties)"
nameWithType: "GeoCollection.GeoCollection(List<GeoObject> geometries, GeoBoundingBox boundingBox, Map<String,Object> customProperties)"
summary: "Constructs a <xref uid=\"com.azure.core.models.GeoCollection\" data-throw-if-not-resolved=\"false\" data-raw-source=\"GeoCollection\"></xref>."
parameters:
- description: "The geometries in the collection."
name: "geometries"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/util/List.html\">List</a>&lt;<xref href=\"com.azure.core.models.GeoObject?alt=com.azure.core.models.GeoObject&text=GeoObject\" data-throw-if-not-resolved=\"False\" />&gt;"
- description: "Bounding box for the <xref uid=\"com.azure.core.models.GeoCollection\" data-throw-if-not-resolved=\"false\" data-raw-source=\"GeoCollection\"></xref>."
name: "boundingBox"
type: "<xref href=\"com.azure.core.models.GeoBoundingBox?alt=com.azure.core.models.GeoBoundingBox&text=GeoBoundingBox\" data-throw-if-not-resolved=\"False\" />"
- description: "Additional properties of the <xref uid=\"com.azure.core.models.GeoCollection\" data-throw-if-not-resolved=\"false\" data-raw-source=\"GeoCollection\"></xref>."
name: "customProperties"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/util/Map.html\">Map</a>&lt;<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>,<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html\">Object</a>&gt;"
syntax: "public GeoCollection(List<GeoObject> geometries, GeoBoundingBox boundingBox, Map<String,Object> customProperties)"
desc: "Constructs a <xref uid=\"com.azure.core.models.GeoCollection\" data-throw-if-not-resolved=\"false\" data-raw-source=\"GeoCollection\"></xref>."
methods:
- uid: "com.azure.core.models.GeoCollection.equals(java.lang.Object)"
fullName: "com.azure.core.models.GeoCollection.equals(Object obj)"
name: "equals(Object obj)"
nameWithType: "GeoCollection.equals(Object obj)"
overridden: "com.azure.core.models.GeoObject.equals(java.lang.Object)"
parameters:
- name: "obj"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html\">Object</a>"
syntax: "public boolean equals(Object obj)"
returns:
type: "<xref href=\"boolean?alt=boolean&text=boolean\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.core.models.GeoCollection.fromJson(com.azure.json.JsonReader)"
fullName: "com.azure.core.models.GeoCollection.fromJson(JsonReader jsonReader)"
name: "fromJson(JsonReader jsonReader)"
nameWithType: "GeoCollection.fromJson(JsonReader jsonReader)"
summary: "Reads a JSON stream into a <xref uid=\"com.azure.core.models.GeoCollection\" data-throw-if-not-resolved=\"false\" data-raw-source=\"GeoCollection\"></xref>."
modifiers:
- "static"
parameters:
- description: "The <xref uid=\"com.azure.json.JsonReader\" data-throw-if-not-resolved=\"false\" data-raw-source=\"JsonReader\"></xref> being read."
name: "jsonReader"
type: "<xref href=\"com.azure.json.JsonReader?alt=com.azure.json.JsonReader&text=JsonReader\" data-throw-if-not-resolved=\"False\" />"
syntax: "public static GeoCollection fromJson(JsonReader jsonReader)"
exceptions:
- description: "If the <code>type</code> node exists and isn't equal to <code>GeometryCollection</code>."
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html\">IOException</a>"
desc: "Reads a JSON stream into a <xref uid=\"com.azure.core.models.GeoCollection\" data-throw-if-not-resolved=\"false\" data-raw-source=\"GeoCollection\"></xref>."
returns:
description: "The <xref uid=\"com.azure.core.models.GeoCollection\" data-throw-if-not-resolved=\"false\" data-raw-source=\"GeoCollection\"></xref> that the JSON stream represented, or null if it pointed to JSON null."
type: "<xref href=\"com.azure.core.models.GeoCollection?alt=com.azure.core.models.GeoCollection&text=GeoCollection\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.core.models.GeoCollection.getGeometries()"
fullName: "com.azure.core.models.GeoCollection.getGeometries()"
name: "getGeometries()"
nameWithType: "GeoCollection.getGeometries()"
summary: "Unmodifiable representation of the <xref uid=\"com.azure.core.models.GeoObject\" data-throw-if-not-resolved=\"false\" data-raw-source=\"geometries\"></xref> contained in this collection."
syntax: "public List<GeoObject> getGeometries()"
desc: "Unmodifiable representation of the <xref uid=\"com.azure.core.models.GeoObject\" data-throw-if-not-resolved=\"false\" data-raw-source=\"geometries\"></xref> contained in this collection."
returns:
description: "An unmodifiable representation of the <xref uid=\"com.azure.core.models.GeoObject\" data-throw-if-not-resolved=\"false\" data-raw-source=\"geometries\"></xref> in this collection."
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/util/List.html\">List</a>&lt;<xref href=\"com.azure.core.models.GeoObject?alt=com.azure.core.models.GeoObject&text=GeoObject\" data-throw-if-not-resolved=\"False\" />&gt;"
- uid: "com.azure.core.models.GeoCollection.getType()"
fullName: "com.azure.core.models.GeoCollection.getType()"
name: "getType()"
nameWithType: "GeoCollection.getType()"
summary: "Gets the GeoJSON type for this object."
overridden: "com.azure.core.models.GeoObject.getType()"
syntax: "public GeoObjectType getType()"
desc: "Gets the GeoJSON type for this object."
returns:
type: "<xref href=\"com.azure.core.models.GeoObjectType?alt=com.azure.core.models.GeoObjectType&text=GeoObjectType\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.core.models.GeoCollection.hashCode()"
fullName: "com.azure.core.models.GeoCollection.hashCode()"
name: "hashCode()"
nameWithType: "GeoCollection.hashCode()"
overridden: "com.azure.core.models.GeoObject.hashCode()"
syntax: "public int hashCode()"
returns:
type: "<xref href=\"int?alt=int&text=int\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.core.models.GeoCollection.toJson(com.azure.json.JsonWriter)"
fullName: "com.azure.core.models.GeoCollection.toJson(JsonWriter jsonWriter)"
name: "toJson(JsonWriter jsonWriter)"
nameWithType: "GeoCollection.toJson(JsonWriter jsonWriter)"
overridden: "com.azure.core.models.GeoObject.toJson(com.azure.json.JsonWriter)"
parameters:
- name: "jsonWriter"
type: "<xref href=\"com.azure.json.JsonWriter?alt=com.azure.json.JsonWriter&text=JsonWriter\" data-throw-if-not-resolved=\"False\" />"
syntax: "public JsonWriter toJson(JsonWriter jsonWriter)"
exceptions:
- type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html\">IOException</a>"
returns:
type: "<xref href=\"com.azure.json.JsonWriter?alt=com.azure.json.JsonWriter&text=JsonWriter\" data-throw-if-not-resolved=\"False\" />"
type: "class"
desc: "Represents a heterogeneous collection of <xref uid=\"com.azure.core.models.GeoObject\" data-throw-if-not-resolved=\"false\" data-raw-source=\"GeoObjects\"></xref>.\n\nThis class encapsulates a list of geometry objects and provides methods to access these objects. The objects can be of any type that extends <xref uid=\"com.azure.core.models.GeoObject\" data-throw-if-not-resolved=\"false\" data-raw-source=\"GeoObject\"></xref>.\n\nThis class is useful when you want to work with a collection of geometry objects in a read-only manner. For example, you can use it to represent a complex geographic feature that is composed of multiple simple geographic features."
metadata: {}
package: "com.azure.core.models"
artifact: com.azure:azure-core:1.54.0