Java examples for java.util:Map Operation
is Empty Map
//package com.java2s; import java.util.Map; public class Main { public static final boolean isEmptyMap(Map<?, ?> map) { if (map == null || map.isEmpty()) { return true; }/*from w w w . j ava 2 s . co m*/ return false; } }