Here you can find the source of vector2string(AbstractList v, String sep)
public static String vector2string(AbstractList v, String sep)
//package com.java2s; /**//from w w w . ja v a 2s. com * Title: efa - elektronisches Fahrtenbuch f?r Ruderer * Copyright: Copyright (c) 2001-2011 by Nicolas Michael * Website: http://efa.nmichael.de/ * License: GNU General Public License v2 * * @author Nicolas Michael * @version 2 */ import java.util.*; public class Main { public static String vector2string(AbstractList v, String sep) { if (v == null) { return null; } String s = ""; for (int i = 0; i < v.size(); i++) { s += (i > 0 ? sep : "") + v.get(i); } return s; } }