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)  編輯  收藏

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


          網站導航:
           
          主站蜘蛛池模板: 体育| 梁河县| 汾西县| 瓦房店市| 汶上县| 大洼县| 安塞县| 新乡市| 木里| 东至县| 含山县| 西昌市| 合山市| 天全县| 夏河县| 拉萨市| 敦化市| 深州市| 栾城县| 哈巴河县| 元氏县| 天峨县| 新化县| 拜泉县| 项城市| 东台市| 白银市| 福清市| 浑源县| 安丘市| 邢台县| 汝州市| 五大连池市| 安平县| 龙游县| 蒙城县| 宁都县| 台山市| 南宫市| 阿荣旗| 福清市|