code: public static List<Monomer> getListOfMonomer(List<MonomerNotation> monomerNotations) throws MonomerException,
       HELM2HandledException, CTKException, NotationException, ChemistryException, MonomerLoadingException {
      List<Monomer> items = new ArrayList<Monomer>();
      for (int i = 0; i < monomerNotations.size(); i++) {
        items.addAll(Validation.getAllMonomers(monomerNotations.get(i), i));
      }
      return items;
  
    }
docs: method to get all monomers for all MonomerNotations
  
  @param monomerNotations List of MonomerNotation
  @return List of Monomer
  @throws MonomerException if the Monomer is not valid
  @throws HELM2HandledException if HELM2 features are there
  @throws CTKException general ChemToolKit exception passed to HELMToolKit
  @throws NotationException if notation is not valid
  @throws ChemistryException if the Chemistry Engine can not be initialized
  @throws MonomerLoadingException  if monomers can not be loaded