use of com.alibaba.easyexcel.test.demo.write.DemoData in project easyexcel by alibaba.
the class WriteV33Test method data.
private List<DemoData> data() {
List<DemoData> list = new ArrayList<>();
for (int i = 0; i < 10; i++) {
DemoData data = new DemoData();
data.setString("字符串" + i);
data.setDate(new Date());
data.setDoubleData(0.56);
list.add(data);
}
return list;
}
use of com.alibaba.easyexcel.test.demo.write.DemoData in project easyexcel by alibaba.
the class Wirte method data.
private List<DemoData> data() {
List<DemoData> list = new ArrayList<DemoData>();
for (int i = 0; i < 10; i++) {
DemoData data = new DemoData();
data.setString("640121807369666560" + i);
data.setDate(new Date());
data.setDoubleData(null);
list.add(data);
}
return list;
}
use of com.alibaba.easyexcel.test.demo.write.DemoData in project easyexcel by alibaba.
the class WriteV34Test method data.
private List<DemoData> data(int no) {
List<DemoData> list = new ArrayList<DemoData>();
for (int i = 0; i < 10; i++) {
DemoData data = new DemoData();
data.setString("字符串" + no + "---" + i);
list.add(data);
}
return list;
}
use of com.alibaba.easyexcel.test.demo.write.DemoData in project easyexcel by alibaba.
the class Lock2Test method data.
private List<DemoData> data() {
List<DemoData> list = new ArrayList<DemoData>();
for (int i = 0; i < 10; i++) {
DemoData data = new DemoData();
data.setString("字符串" + i);
data.setDate(new Date());
data.setDoubleData(0.56);
list.add(data);
}
return list;
}