Package net.sf.eBusx.geo
Class GeoLineString
- java.lang.Object
-
- net.sf.eBus.messages.EMessageObject
-
- net.sf.eBus.messages.EField
-
- net.sf.eBusx.geo.GeoObject
-
- net.sf.eBusx.geo.GeoLineString
-
- All Implemented Interfaces:
java.io.Serializable
public final class GeoLineString extends GeoObject
Array of two or more positions. Positions may cross. Contains a singleLineStringinstance.- Author:
- Charles W. Rapp
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classGeoLineString.BuilderBuilder used to createGeoLineStringinstance.-
Nested classes/interfaces inherited from class net.sf.eBusx.geo.GeoObject
GeoObject.GeoBuilder<F extends GeoObject,B extends GeoObject.GeoBuilder<F,?>>, GeoObject.GeoType
-
-
Field Summary
Fields Modifier and Type Field Description LineStringlineStringActual line string instance contained in this GeoJSON object.-
Fields inherited from class net.sf.eBusx.geo.GeoObject
boundingBox, MAX_LATITUDE, MAX_LONGITUDE, MIN_LATITUDE, MIN_LONGITUDE, type
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static GeoLineString.Builderbuilder()Returns a new GeoJSON line string builder instance.booleanequals(java.lang.Object o)inthashCode()java.lang.StringtoString()Returns human-readable textual representation of a GeoJSON line string.-
Methods inherited from class net.sf.eBusx.geo.GeoObject
validateLatitude, validateLongitude
-
-
-
-
Field Detail
-
lineString
public final LineString lineString
Actual line string instance contained in this GeoJSON object.
-
-
Method Detail
-
toString
public java.lang.String toString()
Returns human-readable textual representation of a GeoJSON line string.
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
builder
public static GeoLineString.Builder builder()
Returns a new GeoJSON line string builder instance.- Returns:
GeoLineStringbuilder instance.
-
-