@Override
  public int remove(@NotNull K key) {
    processQueue();
    MyReference<K> ref = new MyReference<>(key, myQueue);
    return myMap.removeInt(ref);
  }
@Override
  public int remove(@NotNull K key)