code: @NullSafe
    @SuppressWarnings({ "unchecked", "varargs" })
    public static <T> T defaultIfNull(T... values) {
  
      for (T value : nullSafeArray(values)) {
        if (value != null) {
          return value;
        }
      }
  
      return null;
    }
docs: Gets the first non-null value in the array of values.
  
  @param values an array of Object values from which the first non-null Object value in the array is returned.
  @param <T> the Class type of values in the array.
  @return the first non-null value in the array of Object values.