equal
deleted
inserted
replaced
305 v.elementData = Arrays.copyOf(elementData, size); |
305 v.elementData = Arrays.copyOf(elementData, size); |
306 v.modCount = 0; |
306 v.modCount = 0; |
307 return v; |
307 return v; |
308 } catch (CloneNotSupportedException e) { |
308 } catch (CloneNotSupportedException e) { |
309 // this shouldn't happen, since we are Cloneable |
309 // this shouldn't happen, since we are Cloneable |
310 throw new InternalError(); |
310 throw new InternalError(e); |
311 } |
311 } |
312 } |
312 } |
313 |
313 |
314 /** |
314 /** |
315 * Returns an array containing all of the elements in this list |
315 * Returns an array containing all of the elements in this list |