Search in sources :

Example 1 with SimpleData

use of com.alibaba.easyexcel.test.core.simple.SimpleData in project easyexcel by alibaba.

the class PoiEncryptTest method data.

private List<SimpleData> data() {
    List<SimpleData> list = new ArrayList<>();
    for (int i = 0; i < 10; i++) {
        SimpleData simpleData = new SimpleData();
        simpleData.setName("姓名" + i);
        list.add(simpleData);
    }
    return list;
}
Also used : ArrayList(java.util.ArrayList) SimpleData(com.alibaba.easyexcel.test.core.simple.SimpleData)

Example 2 with SimpleData

use of com.alibaba.easyexcel.test.core.simple.SimpleData in project easyexcel by alibaba.

the class EncryptDataTest method data.

private List<SimpleData> data() {
    List<SimpleData> list = new ArrayList<SimpleData>();
    for (int i = 0; i < 10; i++) {
        SimpleData simpleData = new SimpleData();
        simpleData.setName("姓名" + i);
        list.add(simpleData);
    }
    return list;
}
Also used : ArrayList(java.util.ArrayList) SimpleData(com.alibaba.easyexcel.test.core.simple.SimpleData)

Aggregations

SimpleData (com.alibaba.easyexcel.test.core.simple.SimpleData)2 ArrayList (java.util.ArrayList)2