add java "compare Double.NaN and Double.NaN" example