Add the following static methods to your ArrayListFun class:
1) findMaxPosition will return the position of the maximum value
public static int findMaxPosition(ArrayList<String>list)
2)findMinPosition will return the position of the minimum value
public static int findMinPosition(ArrayList<String>list)
3) slideRight will return the parameter list with each value slid to the right one slot and the last slot put into the first
public static ArrayList<String> slideRight(ArrayList<String> list)
3) slideLeft will return the parameter list with each value slid to the left one slot and the first slot put into the last slot
public static ArrayList<String> slideLeft(ArrayList<String> list)
4) appendTail will add list2 to the end of list 1 and return a reference to the new longer list.
public static ArrayList<String> appendTail(ArrayList<String> list1, ArrayList<String> list2)
5) appendHead will add list2 to the beginning of list 1 and return a reference to the new longer list.
public static ArrayList<String>appendHead(ArrayList<String> list1, ArrayList<String> list2)
6)Another method or two of your design using ArrayLists.