Java tutorial
//package com.java2s; //License from project: Open Source License import java.util.HashMap; public class Main { public static boolean isEmptyMap(HashMap map) { return (map == null || map.size() <= 0); } }