zoukankan      html  css  js  c++  java
  • Web开发学习笔记

    1. EnumUtils.isValidEnum(JnRouteProViewStateEnum.class, status) : 判断 status是否在 枚举集合中。
    2. MapUtils.isNotEmpty(request.getExtraProperty()) :

      Null returns false.
      Returns:
      true if non-null and non-empty

    3. 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 两个集合的交集不为空

  • 相关阅读:
    NYOJ 734
    NYOJ 762
    NYOJ 743
    NYOJ 478
    NYOJ 451
    NYOJ 461
    NYOJ 485
    NYOJ 333
    平均互信息
    ASCII码
  • 原文地址:https://www.cnblogs.com/wodo2008/p/5633533.html
Copyright © 2011-2022 走看看