Main.java Source code

Java tutorial

Introduction

Here is the source code for Main.java

Source

//package com.java2s;
//License from project: Apache License 

import android.text.TextUtils;

import java.util.List;

public class Main {

    public static <T> String ListArrayAsString(final List<T[]> lstStringArray) {
        StringBuilder sb = new StringBuilder();
        sb.append("{");
        for (T[] sArr : lstStringArray) {
            sb.append("[").append(TextUtils.join(",", sArr)).append("]");
        }
        sb.append("}");
        return sb.toString();
    }
}