code: public Term getTerm(String name) {
          for (Term term : this.terms) {
              if (name.equals(term.getName())) {
                  return term;
              }
          }
          return null;
      }
docs: Gets the term of the given name.
  
  @param name is the name of the term to retrieve
  @return the term of the given name