# | Line 520 | Line 520 | public class ArrayDeque<E> extends Abstr | |
---|---|---|
520 | /** | |
521 | * Retrieves and removes the head of the queue represented by this deque. | |
522 | * | |
523 | < | * This method differs from {@link #poll poll} only in that it throws an |
524 | < | * exception if this deque is empty. |
523 | > | * This method differs from {@link #poll() poll()} only in that it |
524 | > | * throws an exception if this deque is empty. |
525 | * | |
526 | * <p>This method is equivalent to {@link #removeFirst}. | |
527 | * |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |