1String string = list.stream().map(Object::toString).collect(Collectors.joining(""));
1ArrayList<String> list = new ArrayList<String>();
2list.add("one");
3list.add("two");
4list.add("three");
5
6StringBuilder sb = new StringBuilder();
7for (String s : list)
8{
9 sb.append(s);
10 sb.append("\t");
11}
12
13System.out.println(sb.toString());
14