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);
}
}