code: private void readObject (ObjectInputStream s)
           throws IOException, ClassNotFoundException
      {
          // read in number of buckets and allocate the bucket array
          _buckets = new Record[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++) {
              put(s.readInt(), s.readInt());
          }
      }
docs: Reconstitute the <tt>IntIntMap</tt> instance from a stream (i.e.,
  deserialize it).