code: private void readObject (ObjectInputStream s)
           throws IOException, ClassNotFoundException
      {
          // read in number of buckets and allocate the bucket array
          _buckets = createBuckets(s.readInt());
          _loadFactor = s.readFloat();
  
          // read in size (number of mappings)
          int size = s.readInt();
  
          // read the keys and values
          for (int i=0; i<size; i++) {
              int key = s.readInt();
              @SuppressWarnings("unchecked") V value = (V)s.readObject();
              put(key, value);
          }
      }
docs: Reconstitute the <tt>HashIntMap</tt> instance from a stream (i.e.,
  deserialize it).