import java.io.File; import java.io.FileNotFoundException; import java.util.ArrayList; import java.util.Scanner; public class MUG { int internalId; int externalId; float area; int[] adj; int[] presc; int[][] years; int[] wood_total; int[] perc_r0_total; int[] soilloss_total; int time; boolean valid; static public int[] returnInsertable(Scanner myReader){ String data = myReader.nextLine(); String[] str_split = data.split(",", 0); int size = str_split.length; int[] toInsert = new int [size]; for(int i=0; i minBorder){ toInsert[currentIndex] = Integer.parseInt(str_splitA[i]); currentIndex++; } } return toInsert; } static public int[] returnPeriods(String data){ String[] str_split = data.split(",", 0); int size = str_split.length; int[] toInsert = new int [size]; for(int i=0; i