Module spring.data.mongodb
Class GeoJsonGeometryCollection
java.lang.Object
org.springframework.data.mongodb.core.geo.GeoJsonGeometryCollection
- Since:
- 1.7
- Author:
- Christoph Strobl
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionGeoJsonGeometryCollection(List<GeoJson<?>> geometries) Creates a newGeoJsonGeometryCollectionfor the givenGeoJsoninstances. -
Method Summary
-
Constructor Details
-
GeoJsonGeometryCollection
Creates a newGeoJsonGeometryCollectionfor the givenGeoJsoninstances.- Parameters:
geometries- 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<GeoJson<?>>>- Returns:
- will never be null.
- See Also:
-
hashCode
public int hashCode() -
equals
-