code: public static <T> StringBuilder appendList(StringBuilder sb, List<T> list, String delimiter) {
  		
  		boolean firstRun = true;
  		
  		for(T elem: list) {
  			if(!firstRun) 
  				sb.append(delimiter);
  			else 
  				firstRun = false;
  			
  			sb.append(elem.toString());
  		}
  		
  		return sb;
  		
  	}
docs: Appends all elements of <code>list</code> to buffer, separated by delimiter
  @param <T> Type of elements stored in <code>list</code>
  @param sb StringBuilder to be modified
  @param list List of elements
  @param delimiter Delimiter to separate elements
  @return Modified <code>sb</code> to allow chaining