2024-09-26 21:47:29
2024-09-26 03:58:50
public class test {
public static String[][] datas = {{"aaa", "aa1", "aa11"},
{"bbb", "bb1", "bb11"}, {"ccc", "cc1", "cc11"},
{"aaa", "aa2", "aa22"}, {"bbb", "bb2", "bb22"},
{"aaa", "aa3", "aa33"}, {"bbb", "bb3", "bb33"}};
public static List<MeanPhrase> mpList;
// pron = "aaa", mean="aa1", phrase="aa11"
public static class MeanPhrase {
public String pron, mean, phrase;
public MeanPhrase(String pron, String mean, String phrase) {
this.pron = pron;
this.mean = mean;
this.phrase = phrase;
}
}
public static void main(String[] args) {
for (int i = 0; i < datas.length; i++) {
MeanPhrase meanPhrase = new MeanPhrase(datas[i][0],datas[i][1],datas[i][2]);
mpList.add(meanPhrase);
}
}
}
2024-09-26 04:50:11
2024-09-26 13:47:54