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 {
    private final static String SEPERATOR = "\t";

    private static String intSetToString(List<?> list) {
        final StringBuffer dataSB = new StringBuffer();

        for (int i = 0; i < list.size(); i++) {
            dataSB.append(list.get(i));
            if (i < list.size() - 1) {
                dataSB.append(SEPERATOR);
            }
        }
        return dataSB.toString();
    }
}