Class GeometryCollection


  • @Deprecated(since="2021-05-27")
    public final class GeometryCollection
    extends Geometry
    Deprecated.
    Usage of this API is not supported in AEM as a Cloud Service.
    A representation of a GeoJSON GeometryCollection.
    Since:
    3.1
    • Constructor Detail

      • GeometryCollection

        public GeometryCollection​(java.util.List<? extends Geometry> geometries)
        Deprecated.
        Construct an instance with the given list of Geometry objects
        Parameters:
        geometries - the list of Geometry objects
      • GeometryCollection

        public GeometryCollection​(@Nullable
                                  CoordinateReferenceSystem coordinateReferenceSystem,
                                  java.util.List<? extends Geometry> geometries)
        Deprecated.
        Construct an instance with the given list of Geometry objects
        Parameters:
        coordinateReferenceSystem - the coordinate reference system
        geometries - the list of Geometry objects
    • Method Detail

      • getGeometries

        public java.util.List<? extends Geometry> getGeometries()
        Deprecated.
        Gets the list of Geometry objects in this collection.
        Returns:
        the list
      • equals

        public boolean equals​(java.lang.Object o)
        Deprecated.
        Overrides:
        equals in class Geometry
      • hashCode

        public int hashCode()
        Deprecated.
        Overrides:
        hashCode in class Geometry
      • toString

        public java.lang.String toString()
        Deprecated.
        Overrides:
        toString in class java.lang.Object