java - Turn MoreObjects.toStringHelper(this)...toString() into list of strings -


i have class implemented tostring() method this:

// returns "classname{x=1, y=foo}" public string tostring()     moreobjects.tostringhelper(this)         .add("x", 1)         .add("y", "foo")         .add("z", "bar")         .tostring(); } 

now in class convert tostring() result string list, this:

["1", "foo", "bar"] 

is there way use regex expression this?


Comments

Popular posts from this blog

mysql - Dreamhost PyCharm Django Python 3 Launching a Site -

java - Sending SMS with SMSLib and Web Services -

java - How to resolve The method toString() in the type Object is not applicable for the arguments (InputStream) -