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