少年阿賓

          那些青春的歲月

            BlogJava :: 首頁 :: 聯(lián)系 :: 聚合  :: 管理
            500 Posts :: 0 Stories :: 135 Comments :: 0 Trackbacks
          package com.abin.lee.collection.inner;
          public class LiangCheng {
          public static String LocalProcess(String wu, String id) {
          String well = null;
          if (wu.equalsIgnoreCase("abin")) {
          LiangCheng liangCheng=new LiangCheng();
          LiangCheng.Process process=liangCheng.new Process();
          well=process.getNameById(id);
          }
          return well;
          }
          public class Process {
          private String result = null;
          public String getNameById(String id) {
          if (id.equalsIgnoreCase("15")) {
          result = "lee";
          }
          return result;
          }
          }
          public static void main(String[] args) {
          LiangCheng liangCheng=new LiangCheng();
          String wu="abin";
          String id="15";
          String result=liangCheng.LocalProcess(wu, id);
          System.out.println("result="+result);
          }
          }
          posted on 2012-09-02 16:43 abin 閱讀(457) 評(píng)論(0)  編輯  收藏 所屬分類: Java內(nèi)部類

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


          網(wǎng)站導(dǎo)航:
           
          主站蜘蛛池模板: 宁国市| 光泽县| 宁河县| 威海市| 陵川县| 米易县| 荔波县| 塘沽区| 宁都县| 咸丰县| 南宁市| 益阳市| 潜山县| 杭锦后旗| 上饶县| 梅河口市| 垣曲县| 榆林市| 自治县| 南城县| 伊金霍洛旗| 五指山市| 葫芦岛市| 中西区| 康定县| 奈曼旗| 彝良县| 万荣县| 镇雄县| 鄂托克旗| 志丹县| 应用必备| 义马市| 夏邑县| 宣威市| 阿合奇县| 洪江市| 合水县| 奎屯市| 军事| 额敏县|