class WeatherService {

    public Iterable<Location> search(String query) {
        Iterable<LocationInfo> locals = api.search(query);
        return LazyQueries.map(locals, this::toLocation);
    }

    public  WeatherService(WeatherApi api);
    public  WeatherService();

}