Class CountriesGeoJsonServiceImpl
- java.lang.Object
-
- org.dashbuilder.renderer.c3.client.charts.map.geojson.impl.CountriesGeoJsonServiceImpl
-
- All Implemented Interfaces:
CountriesGeoJsonService
public class CountriesGeoJsonServiceImpl extends Object implements CountriesGeoJsonService
-
-
Constructor Summary
Constructors Constructor Description CountriesGeoJsonServiceImpl()
-
Method Summary
-
-
-
Method Detail
-
setup
@PostConstruct public void setup()
-
getCountries
public Feature[] getCountries()
- Specified by:
getCountriesin interfaceCountriesGeoJsonService
-
getCountryName
public String getCountryName(Feature country)
- Specified by:
getCountryNamein interfaceCountriesGeoJsonService
-
getCountryNameByCode
public String getCountryNameByCode(String code)
- Specified by:
getCountryNameByCodein interfaceCountriesGeoJsonService
-
findEntry
public Optional<Map.Entry<String,Double>> findEntry(Map<String,Double> data, Feature feature)
- Specified by:
findEntryin interfaceCountriesGeoJsonService
-
findValue
public Optional<Double> findValue(Map<String,Double> data, Feature feature)
- Specified by:
findValuein interfaceCountriesGeoJsonService
-
findCountry
public Optional<Feature> findCountry(String idNameOrLocation)
- Specified by:
findCountryin interfaceCountriesGeoJsonService
-
entryByCountry
public Optional<Map.Entry<String,Double>> entryByCountry(Map<String,Double> data, Feature value)
-
entriesByLocation
public Stream<Map.Entry<String,Double>> entriesByLocation(Map<String,Double> data, Feature feature)
-
-