取List中的前几条数据

// start,end分别是第几个到第几个,strat和end为索引,从0开始
list = list.subList(start, end); 。

猜你喜欢

转载自www.cnblogs.com/wanlige/p/13386615.html