code: @SuppressWarnings("unchecked")
    public T queue(String name, Queue<?> queue) {
      for (Element e : elements()) {
        replacequeue(e, name, queue);
      }
      return (T) this;
    }
docs: Replaces the current named queue with the given queue on all matched elements.