code: public static <T> String toMMCIF(List<T> list, Class<T> klass) {
  		if (list.isEmpty()) throw new IllegalArgumentException("List of beans is empty!");
  
  		Field[] fields = getFields(klass);
  		int[] sizes = getFieldSizes(list,fields);
  
  		StringBuilder sb = new StringBuilder();
  
  		for (T o:list) {
  			sb.append(toSingleLoopLineMmCifString(o, fields, sizes));
  		}
  
  		sb.append(SimpleMMcifParser.COMMENT_CHAR+newline);
  
  		return sb.toString();
  	}
docs: Converts a list of mmCIF beans (see {@link org.biojava.nbio.structure.io.mmcif.model} to
  a String representing them in mmCIF loop format with one record per line.
  @param list
  @return