# | Line 160 | Line 160 | public class CopyOnWriteArraySet<E> exte | |
---|---|---|
160 | * The following code can be used to dump the set into a newly allocated | |
161 | * array of <tt>String</tt>: | |
162 | * | |
163 | < | * <pre> |
164 | < | * String[] y = x.toArray(new String[0]);</pre> |
163 | > | * <pre> {@code String[] y = x.toArray(new String[0]);}</pre> |
164 | * | |
165 | * Note that <tt>toArray(new Object[0])</tt> is identical in function to | |
166 | * <tt>toArray()</tt>. |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |