jdk/src/share/classes/java/util/WeakHashMap.java
changeset 65 51fc1d79463f
parent 56 48451b4616e8
child 715 f16baef3a20e
equal deleted inserted replaced
64:3244b8bab101 65:51fc1d79463f
   180      * (e.g., rehash).  This field is used to make iterators on
   180      * (e.g., rehash).  This field is used to make iterators on
   181      * Collection-views of the map fail-fast.
   181      * Collection-views of the map fail-fast.
   182      *
   182      *
   183      * @see ConcurrentModificationException
   183      * @see ConcurrentModificationException
   184      */
   184      */
   185     volatile int modCount;
   185     int modCount;
   186 
   186 
   187     @SuppressWarnings("unchecked")
   187     @SuppressWarnings("unchecked")
   188     private Entry<K,V>[] newTable(int n) {
   188     private Entry<K,V>[] newTable(int n) {
   189         return (Entry<K,V>[]) new Entry[n];
   189         return (Entry<K,V>[]) new Entry[n];
   190     }
   190     }