code: public static <K, V> Map<K, V> notEmpty(Map<K, V> map, String errorMsgTemplate, Object... params) throws IllegalArgumentException {
  		if (CollectionUtil.isEmpty(map)) {
  			throw new IllegalArgumentException(StrUtil.format(errorMsgTemplate, params));
  		}
  		return map;
  	}
docs: 断言给定Map非空
  
  <pre class="code">
  Assert.notEmpty(map, "Map must have entries");
  </pre>
  
  @param <K> Key类型
  @param <V> Value类型
  
  @param map 被检查的Map
  @param errorMsgTemplate 异常时的消息模板
  @param params 参数列表
  @return 被检查的Map
  @throws IllegalArgumentException if the map is {@code null} or has no entries