code: public void print() {
          System.out.println("========================= attrs =========================");
  
          for(Map.Entry<String, Attribute> entry : this.attributes.entrySet()) {
              Attribute attr = entry.getValue();
              System.out.println(entry.getKey() + ": " + attr.getName() + ": " + entry.getValue());
          }
      }
docs: print detail