Package org.bremersee.geojson.model
Class LatLonAware.BuilderImpl
- java.lang.Object
-
- org.bremersee.geojson.model.LatLonAware.BuilderImpl
-
- All Implemented Interfaces:
LatLonAware.Builder
- Enclosing interface:
- LatLonAware
public static class LatLonAware.BuilderImpl extends Object implements LatLonAware.Builder
The builder implementation.
-
-
Constructor Summary
Constructors Constructor Description BuilderImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description LatLonAwarebuild()Build latitude and longitude aware.LatLonAware.Builderfrom(LatLonAware latLonAware)Sets latitude and longitude from the given object.LatLonAware.Builderlatitude(double latitude)Sets latitude.LatLonAware.Builderlatitude(BigDecimal latitude)Sets latitude.LatLonAware.Builderlongitude(double longitude)Sets longitude.LatLonAware.Builderlongitude(BigDecimal longitude)Sets longitude.
-
-
-
Method Detail
-
from
public LatLonAware.Builder from(LatLonAware latLonAware)
Description copied from interface:LatLonAware.BuilderSets latitude and longitude from the given object.- Specified by:
fromin interfaceLatLonAware.Builder- Parameters:
latLonAware- the latitude and longitude aware object- Returns:
- the builder
-
latitude
public LatLonAware.Builder latitude(BigDecimal latitude)
Description copied from interface:LatLonAware.BuilderSets latitude.- Specified by:
latitudein interfaceLatLonAware.Builder- Parameters:
latitude- the latitude- Returns:
- the builder
-
latitude
public LatLonAware.Builder latitude(double latitude)
Description copied from interface:LatLonAware.BuilderSets latitude.- Specified by:
latitudein interfaceLatLonAware.Builder- Parameters:
latitude- the latitude- Returns:
- the builder
-
longitude
public LatLonAware.Builder longitude(BigDecimal longitude)
Description copied from interface:LatLonAware.BuilderSets longitude.- Specified by:
longitudein interfaceLatLonAware.Builder- Parameters:
longitude- the longitude- Returns:
- the builder
-
longitude
public LatLonAware.Builder longitude(double longitude)
Description copied from interface:LatLonAware.BuilderSets longitude.- Specified by:
longitudein interfaceLatLonAware.Builder- Parameters:
longitude- the longitude- Returns:
- the builder
-
build
public LatLonAware build()
Description copied from interface:LatLonAware.BuilderBuild latitude and longitude aware.- Specified by:
buildin interfaceLatLonAware.Builder- Returns:
- the lat lon aware
-
-