B
Bas
Hi,
is there a way to reconstruct a HashMap from the output of toString?
E.g.
HashMap m = new HashMap();
// put some stuff in it
String s = m.toString();
// s contains something like {blah=123, lalanana=hutsefluts}
HashMap c = (HashMap)somethingThatICantFind(s);
Or I'm a hoping for something that just doesn't work that way?
cheers,
bas.
is there a way to reconstruct a HashMap from the output of toString?
E.g.
HashMap m = new HashMap();
// put some stuff in it
String s = m.toString();
// s contains something like {blah=123, lalanana=hutsefluts}
HashMap c = (HashMap)somethingThatICantFind(s);
Or I'm a hoping for something that just doesn't work that way?
cheers,
bas.