Parent Directory | Revision Log
Initial import.
1 | package dk.daoas.daoadresseservice; |
2 | |
3 | import java.util.HashMap; |
4 | |
5 | public class AdressSearch { |
6 | |
7 | HashMap<Integer, HashMap<String,Long>> searchPostnrVejnavnDavid = new HashMap<Integer, HashMap<String,Long>>(); |
8 | |
9 | |
10 | public void search(int postnr, String adresse) throws SearchException { |
11 | HashMap<String,Long> postnrVeje = searchPostnrVejnavnDavid.get(postnr); |
12 | |
13 | if (postnrVeje == null) { |
14 | throw new SearchException("Ukendt postnr"); |
15 | } |
16 | |
17 | |
18 | |
19 | } |
20 | |
21 | } |
ViewVC Help | |
Powered by ViewVC 1.1.20 |