return 5;
}
@Override
public Object getValueAt(int rowIndex, int columnIndex) {
Location location = search.getLocations().getLocations().get(rowIndex);
switch (columnIndex) {
case 0:
return location.getPostalCode();
case 1:
return location.getName();
case 2:
return location.getCountryCode();
case 3:
return location.getLatitude();
case 4:
return location.getLongitude();
default:
throw new IllegalArgumentException("columnIndex");
}
}