Java tutorial
//package com.java2s; import java.util.List; public class Main { public static StringBuffer getTags(List<String> list) { StringBuffer buffer = new StringBuffer(); if (list.size() == 0) { return buffer; } for (int i = 0; i < list.size(); i++) buffer.append(list.get(i)); return buffer; } }