@Override
    default int compare(T first, T second) {
        if (isNull(first)) {
            return isNull(second) ? 0 : 1;
        } else if (isNull(second)) {
            return -1;
        } else {
            return apply(first).compareTo(apply(second));
        }
    }
Returns a typed {@code ToBigDecimalNullable<T>} using the provided
{@code lambda}.

@param <T> type to extract from
@param lambda to convert
@return a typed {@code ToBigDecimalNullable<T>} using the provided
{@code lambda}

@throws NullPointerException if the provided {@code lambda} is
{@code null}
runtime-parent/runtime-compute/src/main/java/com/speedment/runtime/compute/ToBigDecimalNullable.java