text: 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();}}