You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
public static String[] arraySub(String[] array, int start, int end){
String[] newarray = new String[end - start];
for(int i = start; i < end; i++){
newarray[i - start] = array[i]; //Used to simplify taking subarrays.
//println(array[i]);
}
return newarray;
}
public static void toMap(HashMap<Object, Object> m, String... s){ //Should take strings, assign the even indices as keys and the odds as values to the given map.