Package net.sf.eBusx.geo
Class GeoMultiPoint
- java.lang.Object
 - 
- net.sf.eBus.messages.EMessageObject
 - 
- net.sf.eBus.messages.EField
 - 
- net.sf.eBusx.geo.GeoObject
 - 
- net.sf.eBusx.geo.GeoMultiPoint
 
 
 
 
 
- 
- All Implemented Interfaces:
 java.io.Serializable
public final class GeoMultiPoint extends GeoObject
ContainsPositionarray which may be empty.- Author:
 - Charles W. Rapp
 - See Also:
 - Serialized Form
 
 
- 
- 
Nested Class Summary
Nested Classes Modifier and Type Class Description static classGeoMultiPoint.BuilderBuilder class used to createGeoMultiPointinstances.- 
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 Position[]positionsPositions contained in this multi-point 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 GeoMultiPoint.Builderbuilder()Returns a new GeoJSON multi-point builder instance.booleanequals(java.lang.Object o)Returnstrueifois a non-null GeoMultiPointwith a position array equalingthis GeoMultiPointposition array.inthashCode()Returns hash code of contained positions.booleanisEmpty()Returnstrueif this multi-point contains zero points.java.lang.StringtoString()Returns a single text line containing all the positions.- 
Methods inherited from class net.sf.eBusx.geo.GeoObject
validateLatitude, validateLongitude 
 - 
 
 - 
 
- 
- 
Field Detail
- 
positions
public final Position[] positions
Positions contained in this multi-point GeoJSON object. 
 - 
 
- 
Method Detail
- 
toString
public java.lang.String toString()
Returns a single text line containing all the positions. 
- 
equals
public boolean equals(java.lang.Object o)
Returnstrueifois a non-null GeoMultiPointwith a position array equalingthis GeoMultiPointposition array. Otherwise returnsfalse.- Overrides:
 equalsin classjava.lang.Object- Parameters:
 o- comparison object.- Returns:
 trueifois a non-null GeoMultiPointwith a position array equalingthis GeoMultiPointposition array.
 
- 
hashCode
public int hashCode()
Returns hash code of contained positions.- Overrides:
 hashCodein classjava.lang.Object- Returns:
 - contained positions hash code.
 
 
- 
isEmpty
public boolean isEmpty()
Returnstrueif this multi-point contains zero points.- Returns:
 trueif there are no points.
 
- 
builder
public static GeoMultiPoint.Builder builder()
Returns a new GeoJSON multi-point builder instance.- Returns:
 GeoMultiPointbuilder instance.
 
 - 
 
 -