src/main/java/org/helm/notation2/parser/notation/grouping/GroupingOr.java
public String toHELM2() {
    DecimalFormat d = new DecimalFormat("#.##");
    StringBuilder notation = new StringBuilder();
    for (int i = 0; i < elements.size(); i++) {
      if (!(elements.get(i).isDefaultValue())) {
        String value = d.format(elements.get(i).getValue().get(0)).replace(',', '.');
        if (elements.get(i).getValue().size() > 1) {
          value += "-" + d.format(elements.get(i).getValue().get(1)).replace(',', '.');
        }
        notation.append(elements.get(i).getID() + ":" + value + ",");
      } else {
        notation.append(elements.get(i).getID() + ",");
      }
    }
    notation.setLength(notation.length() - 1);
    return notation.toString();
  }
public String toHELM2() {
    DecimalFormat d = new DecimalFormat("#.##");
    StringBuilder notation = new StringBuilder();
    for (int i = 0; i < elements.size(); i++) {
      if (!(elements.get(i).isDefaultValue())) {
        String value = d.format(elements.get(i).getValue().get(0)).replace(',', '.');
        if (elements.get(i).getValue().size() > 1) {
          value += "-" + d.format(elements.get(i).getValue().get(1)).replace(',', '.');
        }
        notation.append(elements.get(i).getID() + ":" + value + ",");
      } else {
        notation.append(elements.get(i).getID() + ",");
      }
    }
    notation.setLength(notation.length() - 1);
    return notation.toString();
  }
public String toHELM2 ( ) { DecimalFormat d = new DecimalFormat ( "#.##" ) ; StringBuilder notation = new StringBuilder ( ) ; for ( int i = 0 ; i < elements . size ( ) ; i ++ ) { if ( ! ( elements . get ( i ) . isDefaultValue ( ) ) ) { String value = d . format ( elements . get ( i ) . getValue ( ) . get ( 0 ) ) . replace ( ' ' , ' ' ) ; if ( elements . get ( i ) . getValue ( ) . size ( ) > 1 ) { value += "-" + d . format ( elements . get ( i ) . getValue ( ) . get ( 1 ) ) . replace ( ' ' , ' ' ) ; } notation . append ( elements . get ( i ) . getID ( ) + ":" + value + "," ) ; } else { notation . append ( elements . get ( i ) . getID ( ) + "," ) ; } } notation . setLength ( notation . length ( ) - 1 ) ; return notation . toString ( ) ; }
{@inheritDoc}
{