?? myfactory.java
字號:
package com.intotherain.examples.SimpleCellEditor.util;
import java.util.ArrayList;
import java.util.List;
import com.intotherain.examples.SimpleCellEditor.model.IETypeEnum;
import com.intotherain.examples.SimpleCellEditor.model.Record;
/**
*
* @author intotherain
*
*/
public class MyFactory {
public static List<Record> createRecords() {
List<Record> list = new ArrayList<Record>();
Record r1 = new Record("10023", "IntoTheRain", "2h34m", IETypeEnum.FireFox);
list.add(r1);
Record r2 = new Record("78201","Slayer`boxer", "4h08m", IETypeEnum.MisrcoSoft_IE);
list.add(r2);
Record r3 = new Record ("45755", "Nc yellow", "9h19m", IETypeEnum.Opera);
list.add(r3);
return list;
}
}
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -