Here you can find the source of join(List a_quotedArgs)
Parameter | Description |
---|---|
a_quotedArgs | a parameter |
public static String join(List a_quotedArgs)
//package com.java2s; /*/*w w w .j av a 2s. c o m*/ * @(#) StringUtils.java Jul 20, 2005 * Copyright 2005 Frequency Marketing, Inc. All rights reserved. * Frequency Marketing, Inc. PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. */ import java.util.List; public class Main { /** * @param a_quotedArgs * @return The strings in the list joined with spaces. */ public static String join(List a_quotedArgs) { StringBuffer joined = new StringBuffer(); int quotedSize = a_quotedArgs.size(); for (int index = 0; index < quotedSize; index++) { if (index > 0) { joined.append(' '); } joined.append(a_quotedArgs.get(index)); } return joined.toString(); } }