wherehows-dao/src/main/java/wherehows/util/UrnUtil.java
@SafeVarargs
  public static <T> T coalesce(T... objs) {
    for (T obj : objs) {
      if (obj != null) {
        return obj;
      }
    }
    return null;
  }
/**
   * Return the first non-null object from multiple objects
   * @param objs objects
   * @return first non-null object, or null in case that all objects are null
   */
Return the first non-null object from multiple objects
@param objs objects
@return first non-null object, or null in case that all objects are null
Return the first non - null object from multiple objects @param objs objects @return first non - null object or null in case that all objects are null
@SafeVarargs
  public static <T> T coalesce(T... objs) {
    for (T obj : objs) {
      if (obj != null) {
        return obj;
      }
    }
    return null;
  }
@ SafeVarargs public static < T > T coalesce ( T ... objs ) { for ( T obj : objs ) { if ( obj != null ) { return obj ; } } return null ; }
Return the first non-null object from multiple objects
 @param objs objects
 @return first non-null object, or null in case that all objects are null
Return the first non - null object from multiple objects @param objs objects @return first non - null object or null in case that all objects are null