Link Details

Link 887841 thumbnail
User 772213 avatar

By Djkiou
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
  • 2007
  • 1360


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.

Apache Hadoop
Written by: Piotr Krewski
Featured Refcardz: Top Refcardz:
  1. Play
  2. Akka
  3. Design Patterns
  4. OO JS
  5. Cont. Delivery
  1. Play
  2. Java Performance
  3. Akka
  4. REST
  5. Java