Class GeoJsonLineString
java.lang.Object
org.springframework.data.mongodb.core.geo.GeoJsonMultiPoint
org.springframework.data.mongodb.core.geo.GeoJsonLineString
GeoJsonLineString
is defined as list of at least 2 Point
s.- Since:
- 1.7
- Author:
- Christoph Strobl
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionGeoJsonLineString
(List<Point> points) Creates a newGeoJsonLineString
for the givenPoint
s.GeoJsonLineString
(Point first, Point second, Point... others) Creates a newGeoJsonLineString
for the givenPoint
s. -
Method Summary
Methods inherited from class org.springframework.data.mongodb.core.geo.GeoJsonMultiPoint
equals, getCoordinates, hashCode
-
Constructor Details
-
GeoJsonLineString
Creates a newGeoJsonLineString
for the givenPoint
s.- Parameters:
points
- must not be null and have at least 2 entries.
-
GeoJsonLineString
Creates a newGeoJsonLineString
for the givenPoint
s.- Parameters:
first
- must not be nullsecond
- must not be nullothers
- can be null
-
-
Method Details