Lines Matching refs:s1
41 List s1 = newList();
42 AddRandoms(s1, listSize);
47 List intersection = clone(s1); intersection.retainAll(s2);
48 List diff1 = clone(s1); diff1.removeAll(s2);
49 List diff2 = clone(s2); diff2.removeAll(s1);
50 List union = clone(s1); union.addAll(s2);
86 s1.clear();
87 if (s1.size() != 0)
90 s1.addAll(0, s2);
91 if (!(s1.equals(s2) && s2.equals(s1)))
94 for (int j=0, n=s1.size(); j<n; j++)
95 s1.set(j, s1.set(n-j-1, s1.get(j)));
97 for (int j=0, n=s1.size(); j<n; j++)
98 s1.set(j, s1.set(n-j-1, s1.get(j)));
99 if (!(s1.equals(s2) && s2.equals(s1)))