How to simplify a null-safe compareTo() implementation? How to simplify a null-safe compareTo() implementation? java java