# | Line 524 | Line 524 | public class LinkedBlockingDeque<E> | |
---|---|---|
524 | * Variant of removeFirstOccurrence needed by iterator.remove. | |
525 | * Searches for the node, not its contents. | |
526 | */ | |
527 | < | boolean removeNode(Node<E> e) { |
527 | > | boolean removeNode(Node<E> e) { |
528 | lock.lock(); | |
529 | try { | |
530 | for (Node<E> p = first; p != null; p = p.next) { |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |