code: public static Long parseLong(String value, Long defaultValue) {
          if (isNullOrEmpty(value)) {
              return defaultValue;
          }
          return Long.parseLong(value);
      }
docs: Parses the provided string value into a long value.
  <p>If the string is null or empty this returns the default value.</p>
  
  @param value        value to parse
  @param defaultValue default value
  @return long representation of provided value or default value.