Compare commits
4 Commits
0643732d08
...
90a323ce01
Author | SHA1 | Date | |
---|---|---|---|
90a323ce01 | |||
|
81b4cbeb7e | ||
|
aab1fe68d7 | ||
|
8382a47d7e |
10
.idea/runConfigurations.xml
generated
10
.idea/runConfigurations.xml
generated
@ -1,10 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project version="4">
|
||||
<component name="RunConfigurationProducerService">
|
||||
<option name="ignoredProducers">
|
||||
<set>
|
||||
<option value="com.android.tools.idea.compose.preview.runconfiguration.ComposePreviewRunConfigurationProducer" />
|
||||
</set>
|
||||
</option>
|
||||
</component>
|
||||
</project>
|
@ -1,5 +1,3 @@
|
||||
Jahr;Schlüssel;Region;verfügbares Einkommen der privaten Haushalte;verfüg. Einkommen der priv. Haushalte je Einwohner
|
||||
;;;Tsd. EUR;EUR
|
||||
2016;01001;Flensburg, Kreisfreie Stadt;1602046;18481
|
||||
2016;01002;Kiel, Landeshauptstadt, Kreisfreie Stadt;4643584;18810
|
||||
2016;01003;Lübeck, Hansestadt, Kreisfreie Stadt;4237638;19575
|
||||
|
|
@ -15,7 +15,7 @@ public class GebietsDatei {
|
||||
try {
|
||||
Files.readAllLines(Paths.get(dateiName)).forEach(line -> {
|
||||
String[] parts = line.split(";");
|
||||
gebiete.add(new Gebiet(Integer.parseInt(parts[0]), Integer.parseInt(parts[1]), parts[2], Long.parseLong(parts[3]), Integer.parseInt(parts[4])));
|
||||
gebiete.add(new Gebiet(Integer.parseInt(parts[0]), Integer.parseInt(parts[1]), parts[2], (parts[3].equals("-")) ? 0 : Long.parseLong(parts[3]), (parts[4].equals("-")) ? 0 : Integer.parseInt(parts[4])));
|
||||
});
|
||||
} catch (Exception e) {
|
||||
e.printStackTrace();
|
||||
|
Loading…
Reference in New Issue
Block a user