// Hunter Schafer, CSE 143 // A class to test the addSorted method of LinkedIntList public class LinkedIntListClient { public static void main(String[] args) { LinkedIntList list = new LinkedIntList(); System.out.println(list); // empty case list.addSorted(8); System.out.println(list); // end case list.addSorted(17); System.out.println(list); // end case again, why not? list.addSorted(22); System.out.println(list); // middle case list.addSorted(19); System.out.println(list); // front case list.addSorted(0); System.out.println(list); } }