少年阿賓

          那些青春的歲月

            BlogJava :: 首頁 :: 聯系 :: 聚合  :: 管理
            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) 評論(0)  編輯  收藏 所屬分類: Java內部類
          主站蜘蛛池模板: 财经| 孝义市| 凤台县| 乌兰浩特市| 绥滨县| 海安县| 林周县| 崇礼县| 白河县| 尤溪县| 汕头市| 岚皋县| 长乐市| 十堰市| 边坝县| 合作市| 博客| 颍上县| 和龙市| 昌乐县| 新余市| 兴城市| 天镇县| 武功县| 元朗区| 柳江县| 石楼县| 江津市| 胶州市| 宜良县| 缙云县| 西乡县| 铜山县| 城固县| 曲周县| 安溪县| 长葛市| 比如县| 镇原县| 曲松县| 大兴区|