public final class GeometryCollection extends Geometry
Constructor | Description |
---|---|
GeometryCollectionβ(CoordinateReferenceSystem coordinateReferenceSystem,
List<? extends Geometry> geometries) |
Construct an instance with the given list of Geometry objects
|
GeometryCollectionβ(List<? extends Geometry> geometries) |
Construct an instance with the given list of Geometry objects
|
Modifier and Type | Method | Description |
---|---|---|
boolean |
equalsβ(Object o) |
|
List<? extends Geometry> |
getGeometriesβ() |
Gets the list of Geometry objects in this collection.
|
GeoJsonObjectType |
getTypeβ() |
Gets the GeoJSON object type.
|
int |
hashCodeβ() |
|
String |
toStringβ() |
getCoordinateReferenceSystem, toJson
public GeometryCollectionβ(List<? extends Geometry> geometries)
geometries
- the list of Geometry objectspublic GeometryCollectionβ(@Nullable CoordinateReferenceSystem coordinateReferenceSystem, List<? extends Geometry> geometries)
coordinateReferenceSystem
- the coordinate reference systemgeometries
- the list of Geometry objectspublic GeoJsonObjectType getTypeβ()
Geometry
public List<? extends Geometry> getGeometriesβ()