java/converter/src/main/java/be/bosa/dt/best/converter/writer/BestWriterCSVEmptyStreets.java
/**
	 * Fill postal map.
	 * If the postal code is already in the map, the replace the values if the new postal code is lower than
	 * the current postal code (since the lowest postal code often refers to the main city)
	 * E.g. 2060 Antwerpen will be replaced by 2000 Antwerpen
	 * 
	 * @param postal
	 * @param code key
	 * @param values values
	 */
Fill postal map.
If the postal code is already in the map, the replace the values if the new postal code is lower than
the current postal code (since the lowest postal code often refers to the main city)
E.g. 2060 Antwerpen will be replaced by 2000 Antwerpen


Fill postal map . If the postal code is already in the map the replace the values if the new postal code is lower than the current postal code ( since the lowest postal code often refers to the main city ) E . g . 2060 Antwerpen will be replaced by 2000 Antwerpen
private void fillPostal(Map<String, String[]> postal, String key, String[] values) {
		if (!key.isEmpty()) {
			String[] current = postal.get(key);
			if (current == null || (current[0].compareTo(values[0]) > 0)) {
				postal.put(key, values);
			}
		}
	}
private void fillPostal ( Map < String , String [ ] > postal , String key , String [ ] values ) { if ( ! key . isEmpty ( ) ) { String [ ] current = postal . get ( key ) ; if ( current == null || ( current [ 0 ] . compareTo ( values [ 0 ] ) > 0 ) ) { postal . put ( key , values ) ; } } }
Fill postal map.
Fill postal map .