src/main/java/org/helm/notation2/parser/notation/polymer/MonomerNotationGroup.java
public void addElement(String str, String type, double one, double two, boolean interval, boolean isDefault) throws NotationException{
    this.elements.add(ValidationMethod.decideWhichMonomerNotationInGroup(str, type, one, two, interval, isDefault));

  }
public void addElement(String str, String type, double one, double two, boolean interval, boolean isDefault) throws NotationException{
    this.elements.add(ValidationMethod.decideWhichMonomerNotationInGroup(str, type, one, two, interval, isDefault));

  }
public void addElement ( String str , String type , double one , double two , boolean interval , boolean isDefault ) throws NotationException { this . elements . add ( ValidationMethod . decideWhichMonomerNotationInGroup ( str , type , one , two , interval , isDefault ) ) ; }
method to add a single element to the group

@param str Monomer
@param type type of current polymer
@param one value of the monomer
@param two value of the monomer
@param interval is the value on interval
@param isDefault if the value is the default one
@throws NotationException if notation is not valid
method to add a single element to the group