Here you can find the source of joinBigDecimals(List
public static String joinBigDecimals(List<BigDecimal> list)
//package com.java2s; //License from project: Apache License import java.math.BigDecimal; import java.util.List; public class Main { public static String joinBigDecimals(List<BigDecimal> list) { String joined = ""; if (list == null) { return joined; }/*from w w w. ja v a2s. co m*/ for (BigDecimal item : list) { joined += item + " "; } return joined.trim(); } }