code: @SuppressWarnings("unchecked")
    public <T extends Tag<?>> List<T> getTags(Class<T> tagClass) {
      List<T> matches = new LinkedList<T>();
      Iterator<Tag<?>> tagIter = _tags.iterator();
      while (tagIter.hasNext()) {
        Tag<?> tag = tagIter.next();
        if (tagClass.isInstance(tag)) {
          matches.add((T)tag);
        }
      }
      return matches;
    }
docs: Return the Tag that matches the given class