code: public QueueBuilder<T>  executor(Executor executor)
      {
          Preconditions.checkNotNull(executor, "executor cannot be null");
  
          this.executor = executor;
          return this;
      }
docs: Change the executor used. The default is {@link MoreExecutors#directExecutor()}
  
  @param executor new executor to use
  @return this