Only lately I have found out about the very useful functions inside the commons-lang package. If you ever have written a custom toString method for an array of strings, or a method to check if a string is empty (ie. null or with length=0), you will wish, just like I did, that you had stumbled earlier on this gem.
Api: http://commons.apache.org/lang/api-release/index.html
Check out the ArrayUtils and the StringUtils packages, they are very nice.
Tuesday, March 4, 2008
Subscribe to:
Post Comments (Atom)

No comments:
Post a Comment