is Map Empty - Android java.util

Android examples for java.util:Map

Description

is Map Empty

Demo Code


//package com.java2s;
import java.util.Map;

public class Main {
    public static boolean isMapEmpty(Map map) {
        return map == null || map.isEmpty();
    }//from   w  w w.  j a va 2 s  .c  o m
}

Related Tutorials