public E remove(int location) {try {ListIterator<E> it = listIterator(location);E result = it.next();it.remove();return result;} catch (NoSuchElementException e) {throw new IndexOutOfBoundsException();}}

public override E remove(int location){try{java.util.ListIterator<E> it = listIterator(location);E result = it.next();it.remove();return result;}catch (java.util.NoSuchElementException){throw new System.IndexOutOfRangeException();}}
