code: private IMolecularFormula getFormula(List<IIsotope> isoToCond_new, int[] value_In) {
          IMolecularFormula mf = builder.newInstance(IMolecularFormula.class);
          for (int i = 0; i < isoToCond_new.size(); i++) {
              if (value_In[i] != 0) {
                  for (int j = 0; j < value_In[i]; j++)
                      mf.addIsotope(isoToCond_new.get(i));
  
              }
          }
          mf = putInOrder(mf);
          return mf;
      }
docs: Set the formula molecular as IMolecularFormula object.
  
  @param elemToCond_new   List with IIsotope
  @param value_In         Array matrix with occurrences
  @return                 The IMolecularFormula