Java tutorial
//package com.java2s; import java.util.Map; public class Main { public static final boolean isEmptyMap(Map<?, ?> map) { if (map == null || map.isEmpty()) { return true; } return false; } }