?? helloserviceimpl.java
字號:
package com.fubao.testws;
import java.util.ArrayList;
import java.util.List;
public class HelloServiceImpl implements HelloService{
public String sayHello(String name) {
return "Hello, "+name;
}
public Course choose(User u){
System.out.println(u.getName());
Course c=new Course();
c.setName("fubao");
return c;
}
//用到集合對象,所以要配一個HelloService.aegis.xml
public List test(List t){
for (int i = 0; i < t.size(); i++) {
System.out.println((String) t.get(i));
}
List al=new ArrayList();
Course c=new Course();
c.setName("nina");
al.add(c);
return al;
}
}
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -