src/main/java/org/helm/notation2/parser/notation/ValidationMethod.java
public static MonomerNotationGroupElement decideWhichMonomerNotationInGroup(String str, String type, double one,
			double two, boolean interval, boolean isDefault) throws NotationException{
		MonomerNotation element;

		element = decideWhichMonomerNotation(str, type);

		if (interval) {
			return new MonomerNotationGroupElement(element, one, two);
		} else {
			return new MonomerNotationGroupElement(element, one, isDefault);
		}
	}
public static MonomerNotationGroupElement decideWhichMonomerNotationInGroup(String str, String type, double one,
			double two, boolean interval, boolean isDefault) throws NotationException{
		MonomerNotation element;

		element = decideWhichMonomerNotation(str, type);

		if (interval) {
			return new MonomerNotationGroupElement(element, one, two);
		} else {
			return new MonomerNotationGroupElement(element, one, isDefault);
		}
	}
method to decide which of the two Constructors of
MonomerNotationGroupElement should be called

@param str
Monomer
@param type
polymer type of monomer
@param one
count of Monomer
@param two
count of Monomer
@param interval
Has the monomer instead of one count an interval
@param isDefault
Is the count of the monomer default = 1
@return MonomerNotationGroupElement
@throws NotationException if notation is not valid