# | Line 13 | Line 13 | import java.io.*; | |
---|---|---|
13 | * usage. They are not thread-safe; in the absence of external | |
14 | * synchronization, they do not support concurrent access by multiple threads. | |
15 | * Null elements are prohibited. This class is likely to be faster than | |
16 | < | * {@link Stack} when used as as a stack, and faster than {@link LinkedList} |
16 | > | * {@link Stack} when used as a stack, and faster than {@link LinkedList} |
17 | * when used as a queue. | |
18 | * | |
19 | * <p>Most <tt>ArrayDeque</tt> operations run in amortized constant time. |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |