Comment

Comment by noss

With java 7 and java.util.Objects there is a static helper method. Nice to have in the favourites in Eclipse.

    import static java.util.Objects.equals;

    if(equals(myString, "foobar")) { ... }
parent noss 13 years ago

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton