docs: @Override
      public final boolean remove(Object o) {
          // Short circuit using read-lock
          if (this.isEmpty()) {
              return false;
          }
  
          @SuppressWarnings("unchecked")
          final K key = this.getElementKey((T) o);
          final Queue<T> queue = this.keyedQueues.get(key);
          if (queue == null) {
              return false;
          }
  
          this.writeLock.lock();
          try {
              final boolean removed = queue.remove(o);
              if (removed) {
                  this.size--;
                  this.notFull.signal();
              }
              return removed;
          } finally {
              this.writeLock.unlock();
          }
      }