Copy a row of data from a one dimensional arraylist (which keeps getting refreshed after every row is found and moved) to the correspondin开发者_运维知识库g row of a two dimensional arraylist?
List lst= new ArrayList();//considering your row
List<List> lst = new ArrayList<List>();//considering 2d list
lst.add(new ArrayList(lst));//adding row to it
精彩评论