equal
deleted
inserted
replaced
701 IdentityHashMap<K,V> m = (IdentityHashMap<K,V>) super.clone(); |
701 IdentityHashMap<K,V> m = (IdentityHashMap<K,V>) super.clone(); |
702 m.entrySet = null; |
702 m.entrySet = null; |
703 m.table = table.clone(); |
703 m.table = table.clone(); |
704 return m; |
704 return m; |
705 } catch (CloneNotSupportedException e) { |
705 } catch (CloneNotSupportedException e) { |
706 throw new InternalError(); |
706 throw new InternalError(e); |
707 } |
707 } |
708 } |
708 } |
709 |
709 |
710 private abstract class IdentityHashMapIterator<T> implements Iterator<T> { |
710 private abstract class IdentityHashMapIterator<T> implements Iterator<T> { |
711 int index = (size != 0 ? 0 : table.length); // current slot. |
711 int index = (size != 0 ? 0 : table.length); // current slot. |