Class GeoJsonMultiPoint
java.lang.Object
org.springframework.data.mongodb.core.geo.GeoJsonMultiPoint
- Direct Known Subclasses:
GeoJsonLineString
-
Constructor Summary
ConstructorsConstructorDescriptionGeoJsonMultiPoint(List<Point> points) Creates a newGeoJsonMultiPointfor the givenPoints.GeoJsonMultiPoint(Point point) Creates a newGeoJsonMultiPointfor the givenPoint.GeoJsonMultiPoint(Point first, Point second, Point... others) Creates a newGeoJsonMultiPointfor the givenPoints. -
Method Summary
-
Constructor Details
-
GeoJsonMultiPoint
Creates a newGeoJsonMultiPointfor the givenPoint.- Parameters:
point- must not be null.- Since:
- 3.2.5
-
GeoJsonMultiPoint
Creates a newGeoJsonMultiPointfor the givenPoints.- Parameters:
points- points must not be null and not empty
-
GeoJsonMultiPoint
Creates a newGeoJsonMultiPointfor the givenPoints.- Parameters:
first- must not be null.second- must not be null.others- 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<Point>>- Returns:
- will never be null.
- See Also:
-
hashCode
-
equals
-