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 java.util.List;

import android.text.TextUtils;

public class Main {
    public static boolean sameStringLists(List<String> list1, List<String> list2) {
        if (list1.size() != list2.size())
            return false;
        return TextUtils.join(",", list1).equals(TextUtils.join(",", list2));
    }
}