Java tutorial
//package com.java2s; import java.util.Map; public class Main { public static boolean emptyMap(Map hash) { boolean result = true; if ((hash != null) && (hash.size() > 0)) { result = false; } return result; } }