Re:Java 7 : The new java.util.Objects class
by jimbokun on Friday April 02, 2010 @02:30PM
(#1237140)
"As an aside, I was surprised that the article did not take advantage of static imports..."
I also much prefer the readability of static imports, but it won't work for the "equals," "toString" and "hashCode" methods, obviously.
As an aside, I was surprised that the article did not take advantage of static imports to rid the code of the "Objects" references. One could just say:
if (notNull(foo).equals("bar")){...}