Friday, December 5, 2014

the explosion-free way to check to see if a string is not null in Java

if (!(foo.bar() + "").equals("null")) {

No comments:

Post a Comment