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