code: public static List<String> concat(List<String> elements, String text, boolean append) {
  		List<String> concats = new ArrayList<String>();
  		
  		for (String element : elements) {
  			concats.add(append ? element + text : text + element);
  		}
  		
  		return concats;
  	}
docs: Utility method to concatenate a String to a list of Strings. The text can be either appended
  or prepended.
  
  @param elements
  list of elements to append/prepend the text to
  @param text
  the given text to append/prepend
  @param append
  if {@code true}, text will be appended to the elements. If {@code false}, it will
  be prepended
  @return list of elements with the text appended/prepended
  @since 1.0