def alist = [1, 2, 3, 4]; def blist = [5, 6, 7]; def reslist = new ArrayList(); reslist.addAll(alist.findAll()).addAll(blist.findAll())
时间: 2024-10-27 11:45:59
def alist = [1, 2, 3, 4]; def blist = [5, 6, 7]; def reslist = new ArrayList(); reslist.addAll(alist.findAll()).addAll(blist.findAll())