equal
deleted
inserted
replaced
671 v.elementData = Arrays.copyOf(elementData, elementCount); |
671 v.elementData = Arrays.copyOf(elementData, elementCount); |
672 v.modCount = 0; |
672 v.modCount = 0; |
673 return v; |
673 return v; |
674 } catch (CloneNotSupportedException e) { |
674 } catch (CloneNotSupportedException e) { |
675 // this shouldn't happen, since we are Cloneable |
675 // this shouldn't happen, since we are Cloneable |
676 throw new InternalError(); |
676 throw new InternalError(e); |
677 } |
677 } |
678 } |
678 } |
679 |
679 |
680 /** |
680 /** |
681 * Returns an array containing all of the elements in this Vector |
681 * Returns an array containing all of the elements in this Vector |