# | Line 335 | Line 335 | public class CopyOnWriteArrayList<E> | |
---|---|---|
335 | * The following code can be used to dump the list into a newly | |
336 | * allocated array of {@code String}: | |
337 | * | |
338 | < | * <pre> {@code String[] y = x.toArray(new String[0]);}</pre> |
338 | > | * <pre> {@code String[] y = x.toArray(new String[0]);}</pre> |
339 | * | |
340 | * Note that {@code toArray(new Object[0])} is identical in function to | |
341 | * {@code toArray()}. |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |