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