equal
deleted
inserted
replaced
620 public Object clone() { |
620 public Object clone() { |
621 TreeMap<K,V> clone = null; |
621 TreeMap<K,V> clone = null; |
622 try { |
622 try { |
623 clone = (TreeMap<K,V>) super.clone(); |
623 clone = (TreeMap<K,V>) super.clone(); |
624 } catch (CloneNotSupportedException e) { |
624 } catch (CloneNotSupportedException e) { |
625 throw new InternalError(); |
625 throw new InternalError(e); |
626 } |
626 } |
627 |
627 |
628 // Put clone into "virgin" state (except for comparator) |
628 // Put clone into "virgin" state (except for comparator) |
629 clone.root = null; |
629 clone.root = null; |
630 clone.size = 0; |
630 clone.size = 0; |