Java - Transform string list into list


Transform a list of strings into a single string. One solution is to iterate over the list and append its contents. Remember that StringBuilder's append is much faster than Strings concatenation.


A better solution is relying on Java StringJoiner

, or with Java 8


Popular posts from this blog

Hibernate - HibernateException: createQuery is not valid without active transaction