testoj
This commit is contained in:
		
							
								
								
									
										2
									
								
								.idea/misc.xml
									
									
									
										generated
									
									
									
								
							
							
						
						
									
										2
									
								
								.idea/misc.xml
									
									
									
										generated
									
									
									
								
							@@ -1,6 +1,6 @@
 | 
			
		||||
<?xml version="1.0" encoding="UTF-8"?>
 | 
			
		||||
<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" />
 | 
			
		||||
  </component>
 | 
			
		||||
</project>
 | 
			
		||||
@@ -5,6 +5,7 @@ import java.util.ArrayList;
 | 
			
		||||
public class Execute {
 | 
			
		||||
    public static void main (String[]args){
 | 
			
		||||
        ArrayList<String> data = GeneralMethods.readData("test.csv");
 | 
			
		||||
 | 
			
		||||
        for(String d : data){
 | 
			
		||||
            System.out.println(d);
 | 
			
		||||
        }
 | 
			
		||||
 
 | 
			
		||||
@@ -34,7 +34,7 @@ public class GeneralMethods {
 | 
			
		||||
 | 
			
		||||
    /**
 | 
			
		||||
     * Author: Sabine Gubitz
 | 
			
		||||
     *
 | 
			
		||||
     *ddd
 | 
			
		||||
     * 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
 | 
			
		||||
     *
 | 
			
		||||
@@ -119,4 +119,5 @@ public class GeneralMethods {
 | 
			
		||||
 | 
			
		||||
        }
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
}
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user