public class GeoJsonMultiLineString extends Object implements GeoJson<Iterable<GeoJsonLineString>>
GeoJsonMultiLineString is defined as list of GeoJsonLineStrings.| Constructor and Description |
|---|
GeoJsonMultiLineString(List<GeoJsonLineString> lines)
Creates new
GeoJsonMultiLineString for the given GeoJsonLineStrings. |
GeoJsonMultiLineString(List<Point>... lines)
Creates new
GeoJsonMultiLineString for the given Points. |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
Iterable<GeoJsonLineString> |
getCoordinates()
The value of the coordinates member is always an
Iterable. |
String |
getType()
String value representing the type of the
GeoJson object. |
int |
hashCode() |
public GeoJsonMultiLineString(List<Point>... lines)
GeoJsonMultiLineString for the given Points.lines - must not be null.public GeoJsonMultiLineString(List<GeoJsonLineString> lines)
GeoJsonMultiLineString for the given GeoJsonLineStrings.lines - must not be null.public String getType()
GeoJsonGeoJson object.getType in interface GeoJson<Iterable<GeoJsonLineString>>public Iterable<GeoJsonLineString> getCoordinates()
GeoJsonIterable. The structure for the elements within is
determined by GeoJson.getType() of geometry.getCoordinates in interface GeoJson<Iterable<GeoJsonLineString>>Copyright © 2011–2020 Pivotal Software, Inc.. All rights reserved.