Java 8 has a helper way that verifes for overflow (you get an exception in that case):. Integer i = theLong == null ? null : Math.
確定! 回上一頁