(int location, E object)
| 79 | } |
| 80 | |
| 81 | @Override |
| 82 | public E set(int location, E object) { |
| 83 | ListIterator<E> it = listIterator(location); |
| 84 | if (!it.hasNext()) { |
| 85 | throw new IndexOutOfBoundsException(); |
| 86 | } |
| 87 | E result = it.next(); |
| 88 | it.set(object); |
| 89 | return result; |
| 90 | } |
| 91 | } |
nothing calls this directly
no test coverage detected