List<String> s1;
List<String> s2;
我想将 n 项从 s1 移动到 s2
say s1={"a","b","c"}
s2={"d","e","f"}
将 2 个元素从 s1 移动到 s2 将使
s1={"c"}
s2={"d","e","f","a","b"}
实现这一目标的好方法是什么?
List<String> s1;
List<String> s2;
我想将 n 项从 s1 移动到 s2
say s1={"a","b","c"}
s2={"d","e","f"}
将 2 个元素从 s1 移动到 s2 将使
s1={"c"}
s2={"d","e","f","a","b"}
实现这一目标的好方法是什么?