Class GeoJsonMultiLineString
java.lang.Object
org.springframework.data.mongodb.core.geo.GeoJsonMultiLineString
- All Implemented Interfaces:
GeoJson<Iterable<GeoJsonLineString>>
GeoJsonMultiLineString is defined as list of GeoJsonLineStrings.- Since:
- 1.7
- Author:
- Christoph Strobl
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionGeoJsonMultiLineString(List<Point>... lines) Creates newGeoJsonMultiLineStringfor the givenPoints.Creates newGeoJsonMultiLineStringfor the givenGeoJsonLineStrings. -
Method Summary
-
Constructor Details
-
GeoJsonMultiLineString
Creates newGeoJsonMultiLineStringfor the givenPoints.- Parameters:
lines- must not be null.
-
GeoJsonMultiLineString
Creates newGeoJsonMultiLineStringfor the givenGeoJsonLineStrings.- Parameters:
lines- must not be null.
-
-
Method Details
-
getType
-
getCoordinates
Description copied from interface:GeoJsonThe value of the coordinates member is always anIterable. The structure for the elements within is determined byGeoJson.getType()of geometry.- Specified by:
getCoordinatesin interfaceGeoJson<Iterable<GeoJsonLineString>>- Returns:
- will never be null.
- See Also:
-
hashCode
-
equals
-