61 |
|
* @author Martin Buchholz |
62 |
|
* @param <E> the type of elements held in this collection |
63 |
|
*/ |
64 |
– |
|
64 |
|
public class ConcurrentLinkedDeque<E> |
65 |
|
extends AbstractCollection<E> |
66 |
|
implements Deque<E>, java.io.Serializable { |
1220 |
|
* The following code can be used to dump the deque into a newly |
1221 |
|
* allocated array of {@code String}: |
1222 |
|
* |
1223 |
< |
* <pre> |
1225 |
< |
* String[] y = x.toArray(new String[0]);</pre> |
1223 |
> |
* <pre> {@code String[] y = x.toArray(new String[0]);}</pre> |
1224 |
|
* |
1225 |
|
* Note that {@code toArray(new Object[0])} is identical in function to |
1226 |
|
* {@code toArray()}. |