title: Converting back from toString to Object
body: <p>Is there any way to convert from toString back to the object in Java?</p>
  
  <p>For example:</p>
  
  <pre><code>Map&lt;String, String&gt; myMap = new HashMap&lt;String, String&gt;();
  myMap.put("value1", "test1");
  myMap.put("value2", "test2");
  String str = myMap.toString();
  </code></pre>
  
  <p>Is there any way to convert this String back to the Map?</p>