(int location, Collection<? extends E> collection)
| 39 | } |
| 40 | |
| 41 | @Override |
| 42 | public boolean addAll(int location, Collection<? extends E> collection) { |
| 43 | ListIterator<E> it = listIterator(location); |
| 44 | Iterator<? extends E> colIt = collection.iterator(); |
| 45 | int next = it.nextIndex(); |
| 46 | while (colIt.hasNext()) { |
| 47 | it.add(colIt.next()); |
| 48 | } |
| 49 | return next != it.nextIndex(); |
| 50 | } |
| 51 | |
| 52 | @Override |
| 53 | public E get(int location) { |