@@ -0,0 +1,2115 @@
+package ttaomae.lists;%0A%0A/**%0A * An ordered collection of elements.%0A *%0A * @param %3CE%3E type of elements in the list%0A *%0A * @author Todd Taomae%0A */%0Apublic interface List%3CE%3E%0A%7B%0A    /**%0A     * Adds the specified element to the end of this list.%0A     *%0A     * @param e the element being added to the list%0A     */%0A    public void add(E e);%0A%0A    /**%0A     * Adds the specified element at the specified index of this list. Shifts%0A     * the existing elements at and above the specified index to the right.%0A     * %0A     * @param index the index at which to add the new element%0A     * @param e the element being added to the list%0A     * @throws IndexOutOfBoundsException if the index is not in the range 0 %3C=%0A     *             index %3C= size()%0A     */%0A    public void add(int index, E e);%0A%0A    /**%0A     * Returns the element at the specified index.%0A     * @param index the index of the element to return%0A     * @return the element at the specified index%0A     * @throws IndexOutOfBoundsException if the index is not in the range 0 %3C= index %3C size()%0A     */%0A    public E get(int index);%0A%0A    /**%0A     * Removes and returns the element at the specified index.%0A     * @param index the index of the element to remove%0A     * @return the element being removed%0A     * @throws IndexOutOfBoundsException if the index is not in the range 0 %3C= index %3C size()%0A     */%0A    public E remove(int index);%0A%0A    /**%0A     * Removes the first element in the list that is equal to the specified%0A     * element. Returns true if such an element existed in the list.%0A     *%0A     * @param e the element to be removed%0A     * @return true if the element was in the list%0A     */%0A    public boolean remove(E e);%0A%0A    /**%0A     * Sets the element at the specified index.%0A     *%0A     * @param index the index of the element being set%0A     * @param e the new value of the element at the specified index%0A     * @throws IndexOutOfBoundsException if the index is not in the range 0 %3C= index %3C size()%0A     */%0A    public void set(int index, E e);%0A%0A    /**%0A     * Returns the size of this list.%0A     *%0A     * @return the size of this list%0A     */%0A    public int size();%0A%7D%0A

add List interface