Skip to content
Snippets Groups Projects
Commit c3a25601 authored by Branden's avatar Branden
Browse files

Created RemoveIdentification method for removing the leading 10000

parent 616e5f39
No related branches found
No related tags found
2 merge requests!65Prototype,!63Feature finish launch program
......@@ -49,4 +49,17 @@ public class ProgramLaunchConverter {
}
/**
* Makes a new Arraylist Without the leading Idenification of 10000. so the path is correct.
* @param actionList an Arraylist with a leading 10000.
* @return an Arraylist without a leading 10000.
*/
public static ArrayList<Integer> RemoveIdentification(ArrayList<Integer> actionList){
ArrayList<Integer> new_actionList = new ArrayList<Integer>();
for(int i = 1; i< actionList.size(); i = i +1){
new_actionList.add(actionList.get(i));
}
return new_actionList;
}
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment