Lines Matching defs:postalCode
52 private synchronized List diskLookup(int postalCode) {
56 indexFile.seek((postalCode-1) * 8);
66 result.add(new PostalCodeEntry(postalCode,city,state,type));
78 public List getCandidates(int postalCode) {
79 if (postalCode < 1 || postalCode > 99999) {
84 if (!cache.containsKey(new Integer(postalCode))) {
85 candidates = Collections.unmodifiableList(diskLookup(postalCode));
86 cache.put(new Integer(postalCode), candidates);
88 candidates = (List) cache.get(new Integer(postalCode));