- EnumUtils.isValidEnum(JnRouteProViewStateEnum.class, status) : 判断 status是否在 枚举集合中。
- MapUtils.isNotEmpty(request.getExtraProperty()) :
Null returns false.
Returns:
true if non-null and non-empty -
boolean org.apache.commons.collections.CollectionUtils.containsAny(Collection coll1, Collection coll2)
Returns true iff at least one element is in both collections.
In other words, this method returns true iff the intersection of coll1 and coll2 is not empty.
Parameters:
coll1 the first collection, must not be null
coll2 the first collection, must not be null
Returns:
true iff the intersection of the collections is non-empty 两个集合的交集不为空
![](https://img2024.cnblogs.com/blog/35695/202408/35695-20240826070647288-243310440.jpg)