def alist = [1, 2, 3, 4]; def blist = [5, 6, 7]; def reslist = new ArrayList(); reslist.addAll(alist.findAll()).addAll(blist.findAll())
本文出自 “技术人生” 博客,请务必保留此出处http://wangyuelucky.blog.51cto.com/1011508/1736368
原文地址:http://wangyuelucky.blog.51cto.com/1011508/1736368