equal
deleted
inserted
replaced
536 lastRet = -1; |
536 lastRet = -1; |
537 if (moved == null) |
537 if (moved == null) |
538 cursor--; |
538 cursor--; |
539 else { |
539 else { |
540 if (forgetMeNot == null) |
540 if (forgetMeNot == null) |
541 forgetMeNot = new ArrayDeque<E>(); |
541 forgetMeNot = new ArrayDeque<>(); |
542 forgetMeNot.add(moved); |
542 forgetMeNot.add(moved); |
543 } |
543 } |
544 } else if (lastRetElt != null) { |
544 } else if (lastRetElt != null) { |
545 PriorityQueue.this.removeEq(lastRetElt); |
545 PriorityQueue.this.removeEq(lastRetElt); |
546 lastRetElt = null; |
546 lastRetElt = null; |