Package org.bremersee.geojson.model
Interface LatLonAware.Builder
- All Known Implementing Classes:
LatLonAware.BuilderImpl
- Enclosing interface:
LatLonAware
public static interface LatLonAware.Builder
The builder interface.
-
Method Summary
Modifier and TypeMethodDescriptionbuild()Build latitude and longitude aware.from(LatLonAware latLonAware) Sets latitude and longitude from the given object.latitude(double latitude) Sets latitude.latitude(BigDecimal latitude) Sets latitude.longitude(double longitude) Sets longitude.longitude(BigDecimal longitude) Sets longitude.
-
Method Details
-
from
Sets latitude and longitude from the given object.- Parameters:
latLonAware- the latitude and longitude aware object- Returns:
- the builder
-
latitude
Sets latitude.- Parameters:
latitude- the latitude- Returns:
- the builder
-
latitude
Sets latitude.- Parameters:
latitude- the latitude- Returns:
- the builder
-
longitude
Sets longitude.- Parameters:
longitude- the longitude- Returns:
- the builder
-
longitude
Sets longitude.- Parameters:
longitude- the longitude- Returns:
- the builder
-
build
LatLonAware build()Build latitude and longitude aware.- Returns:
- the lat lon aware
-