text: public override E set(int location, E @object){java.util.ListIterator<E> it = listIterator(location);if (!it.hasNext()){throw new System.IndexOutOfRangeException();}E result = it.next();it.set(@object);return result;}