Class GeoJsonGeometryCollection
java.lang.Object
org.springframework.data.mongodb.core.geo.GeoJsonGeometryCollection
- Since:
- 1.7
- Author:
- Christoph Strobl
- See Also:
-
Constructor Summary
ConstructorDescriptionGeoJsonGeometryCollection
(List<GeoJson<?>> geometries) Creates a newGeoJsonGeometryCollection
for the givenGeoJson
instances. -
Method Summary
-
Constructor Details
-
GeoJsonGeometryCollection
Creates a newGeoJsonGeometryCollection
for the givenGeoJson
instances.- Parameters:
geometries
- must not be null.
-
-
Method Details
-
getType
Description copied from interface:GeoJson
String value representing the type of theGeoJson
object. -
getCoordinates
Description copied from interface:GeoJson
The value of the coordinates member is always anIterable
. The structure for the elements within is determined byGeoJson.getType()
of geometry.- Specified by:
getCoordinates
in interfaceGeoJson<Iterable<GeoJson<?>>>
- Returns:
- will never be null.
- See Also:
-
hashCode
public int hashCode() -
equals
-