@Override
  protected void removePrioritizedTransaction(final PendingTransaction removedPendingTx) {
    if (prioritizedTransactionsDynamicRange.remove(removedPendingTx)) {
      LOG.atTrace()
          .setMessage("Removed dynamic range transaction {}")
          .addArgument(removedPendingTx::toTraceLog)
          .log();
    } else {
      removedPendingTx
          .getTransaction()
          .getMaxPriorityFeePerGas()
          .ifPresent(
              __ -> {
                if (prioritizedTransactionsStaticRange.remove(removedPendingTx)) {
                  LOG.atTrace()
                      .setMessage("Removed static range transaction {}")
                      .addArgument(removedPendingTx::toTraceLog)
                      .log();
                }
              });
    }
  }
See this post for an explainer about these data structures:
https://hackmd.io/@adietrichs/1559-transaction-sorting
ethereum/eth/src/main/java/org/hyperledger/besu/ethereum/eth/transactions/sorter/BaseFeePendingTransactionsSorter.java