com.io7m.jranges.core/src/main/java/com/io7m/jranges/RangeCheck.java
public static long checkGreaterLong(
    final long x,
    final String x_name,
    final long in_lower,
    final String lower_name)
  {
    Objects.requireNonNull(x_name, "Value name");
    Objects.requireNonNull(lower_name, "Lower bound name");

    if (x > in_lower) {
      return x;
    }

    @SuppressWarnings("boxing") final var message =
      String.format("%s (%d) <= %s (%d)", x_name, x, lower_name, in_lower);

    throw new RangeCheckException(message);
  }
public static long checkGreaterLong(
    final long x,
    final String x_name,
    final long in_lower,
    final String lower_name)
  {
    Objects.requireNonNull(x_name, "Value name");
    Objects.requireNonNull(lower_name, "Lower bound name");

    if (x > in_lower) {
      return x;
    }

    @SuppressWarnings("boxing") final var message =
      String.format("%s (%d) <= %s (%d)", x_name, x, lower_name, in_lower);

    throw new RangeCheckException(message);
  }
<p> Assert that {@code x} (named {@code x_name}) is greater than {@code
in_lower} (named {@code lower_name}). </p>

@param x          The checked value
@param in_lower   The lower bound
@param x_name     The name of the checked value
@param lower_name The name of the lower bound

@return x

@since 2.0.0