# | Line 99 | Line 99 | public class Basic { | |
---|---|---|
99 | static Set clone(Set s) throws Exception { | |
100 | Set clone; | |
101 | int method = rnd.nextInt(3); | |
102 | < | clone = (method==0 ? (Set) ((LinkedHashSet)s).clone() : |
102 | > | clone = (method==0 ? (Set) ((LinkedHashSet)s).clone() : |
103 | (method==1 ? new LinkedHashSet(Arrays.asList(s.toArray())) : | |
104 | serClone(s))); | |
105 | if (!s.equals(clone)) |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |