Class MultiLineString


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

      • MultiLineString

        public MultiLineString​(java.util.List<java.util.List<Position>> coordinates)
        Deprecated.
        Construct an instance with the given coordinates.
        Parameters:
        coordinates - the coordinates of each line
      • MultiLineString

        public MultiLineString​(@Nullable
                               CoordinateReferenceSystem coordinateReferenceSystem,
                               java.util.List<java.util.List<Position>> coordinates)
        Deprecated.
        Construct an instance with the given coordinates and coordinate reference system.
        Parameters:
        coordinateReferenceSystem - the coordinate reference system
        coordinates - the coordinates of each line
    • Method Detail

      • getCoordinates

        public java.util.List<java.util.List<Position>> getCoordinates()
        Deprecated.
        Gets the GeoJSON coordinates of this MultiLineString
        Returns:
        the coordinates
      • 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