Equals generated & compareTo null check implemented