package chihane.jdaddressselector;

import java.util.List;

import chihane.jdaddressselector.model.City;
import chihane.jdaddressselector.model.County;
import chihane.jdaddressselector.model.Province;
import chihane.jdaddressselector.model.Street;

public interface AddressProvider {
    void provideProvinces(AddressReceiver<Province> addressReceiver);
    void provideCitiesWith(int provinceId, AddressReceiver<City> addressReceiver);
    void provideCountiesWith(int countyId, AddressReceiver<County> addressReceiver);
    void provideStreetsWith(int streetId, AddressReceiver<Street> addressReceiver);

    interface AddressReceiver<T> {
        void send(List<T> data);
    }
}
@@ -464,19 +464,17 @@
 th(int c
-oun
+i
 tyId, Ad
@@ -549,14 +549,14 @@
 int 
-street
+county
 Id, 

Rename param names