code: public List<TLVElement> getChildElements(int tag) {
          List<TLVElement> elements = new LinkedList<>();
          for (TLVElement element : children) {
              if (tag == element.getType()) {
                  elements.add(element);
              }
          }
          return elements;
      }
docs: Returns all the tags with the specified tag.
  
  @param tag
  tag to search.
  @return The list of {@link TLVElement}'s with specified tag or empty list.