public boolean offerIfAbsent(@NotNull T thing) {
    synchronized (myQueue) {
      boolean absent = !myQueue.contains(thing);
      if (absent) {
        myQueue.addLast(thing);
        scheduleUpdate();
      }
      return absent;
    }
  }
public boolean offerIfAbsent(@NotNull T thing)