If it's really just about comparing the argument to another value of the same type parameter then you could do the following (just adding in T x for simplicity)
public static > int evaluate(T inputNumber, T x) {
if (inputNumber.compareTo(x) > 0) { ... }
}