code: public static Integer assign(final Integer value, final Integer defaultValueIfNull) {
          return value != null ? value : defaultValueIfNull;
      }
docs: Return the value unless it is null, in which case it returns the default value.
  @param value
  @param defaultValueIfNull
  @return