Question: Your first assignment is to create the barebones outline of your first data structure The ArrayList with minimal functionality 1) Open up your IDE and

Your first assignment is to create the barebones outline of your first data structure The ArrayList with minimal functionality 1) Open up your IDE and create a new Project. Call it "PDSSpring2019". 2) Inside your project create a new package. Call it "adt" 3) Inside the adt package create an interface Call it "List" 4) You are to fully program the List interface using Java generics and Javadoc. Please note - an interface doesn't account for implementation. It is just the function definitions and Javadoc. The following functions need to be present boolean add(E e) void add(int index, E element) boolean addAll (Collection extends E> c) boolean addAll (int index, Collection? extends E> c) void clear() boolean contains (Object o) boolean containsAll (Collection> c) boolean equals (Object o) get(int index) int indexof (Object o) boolean isEmpty() lastIndexof (Object o) remove (int index) boolean remove (Object o) boolean removeAll(Collection> c) set (int index, E element) int size() List
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
