Package org.bremersee.geojson.model
Interface LatLonAware.Builder
-
- All Known Implementing Classes:
LatLonAware.BuilderImpl
- Enclosing interface:
- LatLonAware
public static interface LatLonAware.BuilderThe builder interface.
-
-
Method Summary
All Methods Instance Methods Abstract 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
LatLonAware.Builder from(LatLonAware latLonAware)
Sets latitude and longitude from the given object.- Parameters:
latLonAware- the latitude and longitude aware object- Returns:
- the builder
-
latitude
LatLonAware.Builder latitude(BigDecimal latitude)
Sets latitude.- Parameters:
latitude- the latitude- Returns:
- the builder
-
latitude
LatLonAware.Builder latitude(double latitude)
Sets latitude.- Parameters:
latitude- the latitude- Returns:
- the builder
-
longitude
LatLonAware.Builder longitude(BigDecimal longitude)
Sets longitude.- Parameters:
longitude- the longitude- Returns:
- the builder
-
longitude
LatLonAware.Builder longitude(double longitude)
Sets longitude.- Parameters:
longitude- the longitude- Returns:
- the builder
-
build
LatLonAware build()
Build latitude and longitude aware.- Returns:
- the lat lon aware
-
-