m.put(key, value);
return m;
   protected Map readMap(ObjectInput in) throws IOException, ClassNotFoundException   {      int size = in.readInt();      Map m = new HashMap(size);      for (int i = 0; i < size; i++)      {         String key = in.readUTF();         byte type = in.readByte();         Object value = null;         switch (type)         {            case BYTE :               value = new Byte(in.readByte());               break;            case SHORT :               value = new Short(in.readShort());               break;            case INT :               value = new Integer(in.readInt());               break;            case LONG :               value = new Long(in.readLong());               break;            case FLOAT :               value = new Float(in.readFloat());               break;            case DOUBLE :               value = new Double(in.readDouble());               break;            case BOOLEAN :               value = Primitives.valueOf(in.readBoolean());               break;            case STRING :               value = in.readUTF();               break;            default :               value = in.readObject();         }         m.put(key, value);      }      return m;   }