testoj
This commit is contained in:
parent
f2202682b6
commit
715a6fa94a
@ -1,6 +1,6 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
<project version="4">
|
<project version="4">
|
||||||
<component name="ProjectRootManager" version="2" languageLevel="JDK_17" default="true" project-jdk-name="17" project-jdk-type="JavaSDK">
|
<component name="ProjectRootManager" version="2" languageLevel="JDK_16" project-jdk-name="17" project-jdk-type="JavaSDK">
|
||||||
<output url="file://$PROJECT_DIR$/out" />
|
<output url="file://$PROJECT_DIR$/out" />
|
||||||
</component>
|
</component>
|
||||||
</project>
|
</project>
|
@ -5,6 +5,7 @@ import java.util.ArrayList;
|
|||||||
public class Execute {
|
public class Execute {
|
||||||
public static void main (String[]args){
|
public static void main (String[]args){
|
||||||
ArrayList<String> data = GeneralMethods.readData("test.csv");
|
ArrayList<String> data = GeneralMethods.readData("test.csv");
|
||||||
|
|
||||||
for(String d : data){
|
for(String d : data){
|
||||||
System.out.println(d);
|
System.out.println(d);
|
||||||
}
|
}
|
||||||
|
@ -34,7 +34,7 @@ public class GeneralMethods {
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Author: Sabine Gubitz
|
* Author: Sabine Gubitz
|
||||||
*
|
*ddd
|
||||||
* The method read Data interprets a file and returns an useable list for other methods.
|
* The method read Data interprets a file and returns an useable list for other methods.
|
||||||
* Files to be read have to use : as a divider between attributes
|
* Files to be read have to use : as a divider between attributes
|
||||||
*
|
*
|
||||||
@ -119,4 +119,5 @@ public class GeneralMethods {
|
|||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user