java源碼-Integer

Integer 繼承Number 實現了Comparable Number 所有數字類都繼承了這個類 comparable 實現了一個比較接口 範圍 -2^31 ~ 2^31-1   8個字節 可以轉爲2進制到36進制,其他默認爲10進制 Integer 中把字符串轉成Integer中的方法parseInt()、valueOf() 先判斷首位是否是+、- 之後計算數值
相關文章
相關標籤/搜索