code: public <T extends Tag> T put(T tag) {
          return (T) this.value.put(tag.getName(), tag);
      }
docs: Puts the tag into this compound tag.
  
  @param <T> Type of tag to put.
  @param tag Tag to put into this compound tag.
  @return The previous tag associated with its name, or null if there wasn't one.