Link Details

So I recently wrote a post about good old reliable Apache Commons StringUtils, which provoked a couple of comments, one of which was that Google Guava provides better mechanisms for joining and splitting Strings. I have to admit, this is a corner of Guava I’ve yet to explore. So thought I ought to take a closer look, and compare with StringUtils, and I have to admit I was surprised at what I found. Splitting strings eh? There can’t be many different ways of doing this surely?

Posted by Djkiou  |   Dec 07 2012 / 05:00

Add your comment


Html tags not supported. Reply is editable for 5 minutes. Use [code lang="java|ruby|sql|css|xml"][/code] to post code snippets.

Comments

User 352719 avatar

Jonathan Fisher replied ago:

Honestly, Google should just rewrite the entire Java standard SDK classes! It'd be pretty awesome to have gRT.jar instead of rt.jar (Haha). I've always thought the biggest problem with Java is have the weight of the legacy codebase (StringBuilder vs StringBuffer) hanging around.

Reply 0 votes

Recommended Links

Scala
Written by: Ryan Knight
Featured Refcardz: Top Refcardz:
  1. Apache Hadoop
  2. Play
  3. Akka
  4. Debugging JavaScript
  5. Design Patterns
  1. Apache Hadoop
  2. REST
  3. Java
  4. Git
  5. Java Performance
Connect with DZone