我希望过滤器保留所有值,而不是重叠。我究竟做错了什么?我希望过滤器保留所有exp.substring(11,19)
而不重叠
ArrayList<RowFilter<Object,Object>> arrLstColorFilters = new ArrayList<RowFilter<Object,Object>>();
if (time3[i].after(time1) && time3[i].before(time2)) {
String exp = time3[i].getTime().toString();
please.add(exp.substring(11, 19));
RowFilter<Object,Object> blueFilter = RowFilter.regexFilter(exp.substring(11, 19),3);
arrLstColorFilters.add(blueFilter);
}
sorter.setRowFilter(RowFilter.andFilter(arrLstColorFilters));
exp包含时间格式:“09:19:19”arrLstColorFilters中的每个值都没有显示