changePriority(item, priority) {
    this.remove(item, new Comparator(this.compareValue));
    this.add(item, priority);
    return this;
  }
Change priority of the item in a queue.
@param {*} item - item we're going to re-prioritize.
@param {number} priority - new item's priority.
@return {PriorityQueue}