Module spring.data.mongodb
Class GeoJsonMultiPoint
java.lang.Object
org.springframework.data.mongodb.core.geo.GeoJsonMultiPoint
- Direct Known Subclasses:
GeoJsonLineString
GeoJsonMultiPoint is defined as list of Points.- Since:
- 1.7
- Author:
- Christoph Strobl, Ivan Volzhev
- See Also:
-
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
Description copied from interface:GeoJsonString value representing the type of theGeoJsonobject. -
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
public int hashCode() -
equals
-