Main.java Source code

Java tutorial

Introduction

Here is the source code for Main.java

Source

//package com.java2s;

import java.util.List;

public class Main {
    /**
     * Utility function to convert given List to a string appended with semi colon
     * @param toList
     * @return
     */
    public static String ListToString(List<String> toList) {
        String toString = "";
        for (String email : toList) {
            toString.concat(email + ";");
        }
        return toString;
    }
}