Link Details

Link 887841 thumbnail
User 772213 avatar

By Djkiou
via javacodegeeks.com
Published: Dec 07 2012 / 05:00

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?
  • 15
  • 2
  • 1960
  • 1360

Comments

Add your comment
User 352719 avatar

Jonathan Fisher replied ago:

0 votes Vote down Vote up Reply

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.

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.

Java Performance Optimization
Written by: Pierre-Hugues Charbonneau
Featured Refcardz: Top Refcardz:
  1. Design Patterns
  2. OO JS
  3. Cont. Delivery
  4. Java EE7
  5. HTML5 Mobile
  1. Node.js
  2. Debugging JavaScript
  3. OO JS
  4. JSON
  5. Ajax