code: public E getObject(E key) {
      if ( ! contains(key)) return null;
      Entry<E> e = getEntry(key);
      return e.key;
    }
docs: Searches for the object in the queue and returns it.  May be useful if
  you can create a new object that is .equals() to an object in the queue
  but is not actually identical, or if you want to modify an object that is
  in the queue.
  @return null if the object is not in the queue, otherwise returns the
  object.