Main.java Source code

Java tutorial

Introduction

Here is the source code for Main.java

Source

//package com.java2s;
//License from project: Open Source License 

import java.util.ArrayList;

import java.util.List;

public class Main {
    public static boolean isEmptyList(ArrayList arrayList) {
        return (arrayList == null || arrayList.size() <= 0);
    }

    public static boolean isEmptyList(List arrayList) {
        return (arrayList == null || arrayList.size() <= 0);
    }
}