[cvs] / jsr166 / src / main / java / util / HashMap.java Repository:
ViewVC logotype

Diff of /jsr166/src/main/java/util/HashMap.java

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.1, Wed Aug 23 05:33:00 2017 UTC revision 1.2, Sun Sep 3 16:15:38 2017 UTC
# Line 1394  Line 1394 
1394      }      }
1395    
1396      /**      /**
1397       * Save the state of the {@code HashMap} instance to a stream (i.e.,       * Saves this map to a stream (that is, serializes it).
      * serialize it).  
1398       *       *
1399         * @param s the stream
1400         * @throws IOException if an I/O error occurs
1401       * @serialData The <i>capacity</i> of the HashMap (the length of the       * @serialData The <i>capacity</i> of the HashMap (the length of the
1402       *             bucket array) is emitted (int), followed by the       *             bucket array) is emitted (int), followed by the
1403       *             <i>size</i> (an int, the number of key-value       *             <i>size</i> (an int, the number of key-value
# Line 1415  Line 1416 
1416      }      }
1417    
1418      /**      /**
1419       * Reconstitute the {@code HashMap} instance from a stream (i.e.,       * Reconstitutes this map from a stream (that is, deserializes it).
1420       * deserialize it).       * @param s the stream
1421         * @throws ClassNotFoundException if the class of a serialized object
1422         *         could not be found
1423         * @throws IOException if an I/O error occurs
1424       */       */
1425      private void readObject(java.io.ObjectInputStream s)      private void readObject(java.io.ObjectInputStream s)
1426          throws IOException, ClassNotFoundException {          throws IOException, ClassNotFoundException {

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.2

Doug Lea
ViewVC Help
Powered by ViewVC 1.0.8