public void add(Term term) {if (term == null) {throw new IllegalArgumentException("Term must not be null");}this.terms.add(term);}

public void add ( Term term ) { if ( term == null ) { throw new IllegalArgumentException ( "Term must not be null" ) ; } this . terms . add ( term ) ; }
public virtual void Add(Term term){if (term == null){throw new ArgumentException("Term must not be null");}this.m_terms.Add(term);}
