Jafe Lee

            BlogJava :: 首頁 :: 新隨筆 :: 聯系 :: 聚合  :: 管理 ::
            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 閱讀(121) 評論(0)  編輯  收藏

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


          網站導航:
           
          主站蜘蛛池模板: 桐庐县| 乡宁县| 象州县| 莎车县| 九龙坡区| 玛沁县| 岢岚县| 灌阳县| 繁峙县| 富川| 扎鲁特旗| 白水县| 成安县| 漳州市| 田东县| 沅江市| 简阳市| 金平| 太保市| 鄂尔多斯市| 都匀市| 家居| 略阳县| 咸宁市| 樟树市| 阿城市| 尖扎县| 南岸区| 高平市| 壤塘县| 九江市| 东城区| 玛多县| 成都市| 五寨县| 双城市| 南江县| 青海省| 邛崃市| 明溪县| 始兴县|