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
ConstructorDescriptionGeoJsonLineString
(List<org.springframework.data.geo.Point> points) Creates a newGeoJsonLineString
for the givenPoint
s.GeoJsonLineString
(org.springframework.data.geo.Point first, org.springframework.data.geo.Point second, org.springframework.data.geo.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
public GeoJsonLineString(org.springframework.data.geo.Point first, org.springframework.data.geo.Point second, org.springframework.data.geo.Point... others) Creates a newGeoJsonLineString
for the givenPoint
s.- Parameters:
first
- must not be nullsecond
- must not be nullothers
- can be null
-
-
Method Details