jdk/src/share/classes/java/util/IdentityHashMap.java
changeset 10419 12c063b39232
parent 9275 1df1f7dfab7f
child 12448 b95438b17098
equal deleted inserted replaced
10418:1d57022fdb6e 10419:12c063b39232
   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.