Jafe Lee

            BlogJava :: 首頁 :: 新隨筆 :: 聯(lián)系 :: 聚合  :: 管理 ::
            49 隨筆 :: 0 文章 :: 24 評論 :: 0 Trackbacks
          1、ISO-639 定義了語言代碼, Common ISO-639 Language Codes
          ?? 而ISO-3166定義了國家代碼 ,Common ISO-3166 Country Codes

          2、boxing 問題:
          (from JSR 5.1.7): If the value p being boxed is true, false, a byte, a char in the range \u0000 to \u007f, or an int or short number between -128 and 127, then let r1 and r2 be the results of any two boxing conversions of p. It is always the case that r1 == r2.
          因此,下面一個例子
          AutoBoxing.java
          而其運行結果為:
          運行結果
          應盡量使用equals()而不是 == 來應用于諸如 Integer, String之類的比較

          posted on 2007-08-12 20:27 Jafe Lee 閱讀(117) 評論(0)  編輯  收藏

          只有注冊用戶登錄后才能發(fā)表評論。


          網(wǎng)站導航:
           
          主站蜘蛛池模板: 瓦房店市| 西贡区| 永修县| 广昌县| 华亭县| 柳州市| 河源市| 咸丰县| 宁阳县| 阳江市| 正阳县| 新郑市| 集贤县| 迁安市| 齐河县| 宽甸| 东丰县| 日土县| 建瓯市| 延寿县| 琼结县| 正蓝旗| 巫溪县| 伊春市| 烟台市| 凤凰县| 西盟| 二连浩特市| 临城县| 岳阳市| 八宿县| 汉中市| 射洪县| 五华县| 德州市| 忻州市| 开鲁县| 奇台县| 天全县| 休宁县| 固安县|