Class GeoJsonMultiPolygon
java.lang.Object
org.springframework.data.elasticsearch.core.geo.GeoJsonMultiPolygon
- All Implemented Interfaces:
GeoJson<Iterable<GeoJsonPolygon>>
- Since:
- 4.1
- Author:
- Christoph Strobl, Peter-Josef Meisch
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionbooleanThe value of the coordinates member is always anIterable.getType()String value representing the type of theGeoJsonobject.inthashCode()static GeoJsonMultiPolygonof(List<GeoJsonPolygon> polygons) Creates a newGeoJsonMultiPolygonfor the givenGeoJsonPolygons.toString()
-
Field Details
-
TYPE
- See Also:
-
-
Method Details
-
of
Creates a newGeoJsonMultiPolygonfor the givenGeoJsonPolygons.- Parameters:
polygons- must not be null.
-
getType
Description copied from interface:GeoJsonString value representing the type of theGeoJsonobject.- Specified by:
getTypein interfaceGeoJson<Iterable<GeoJsonPolygon>>- Returns:
- will never be null.
- See Also:
-
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<GeoJsonPolygon>>- Returns:
- will never be null.
- See Also:
-
equals
-
hashCode
public int hashCode() -
toString
-