public class GeoJsonMultiLineString extends Object implements GeoJson<Iterable<GeoJsonLineString>>
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
List<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() |
static GeoJsonMultiLineString |
of(List<GeoJsonLineString> lines)
Creates new
GeoJsonMultiLineString for the given GeoJsonLineStrings. |
static GeoJsonMultiLineString |
of(List<Point>... lines)
Creates new
GeoJsonMultiLineString for the given Points. |
String |
toString() |
public static final String TYPE
public static GeoJsonMultiLineString of(List<GeoJsonLineString> lines)
GeoJsonMultiLineString for the given GeoJsonLineStrings.lines - must not be null.public static GeoJsonMultiLineString of(List<Point>... lines)
GeoJsonMultiLineString for the given Points.lines - must not be null.public String getType()
GeoJsonGeoJson object.getType in interface GeoJson<Iterable<GeoJsonLineString>>public List<GeoJsonLineString> getCoordinates()
GeoJsonIterable. The structure for the elements within is
determined by GeoJson.getType() of geometry.getCoordinates in interface GeoJson<Iterable<GeoJsonLineString>>Copyright © 2011–2021 Pivotal Software, Inc.. All rights reserved.