java.util.Objects

This class provides utility methods which are usually able to handle null values.