public static <T> ToBoolean<T> negateBoolean(ToBoolean<T> expression) {
        class NegateBoolean extends AbstractNegate<T, ToBoolean<T>> implements ToBoolean<T> {
            private NegateBoolean(ToBoolean<T> inner) {
                super(inner);
            }

            @Override
            public boolean applyAsBoolean(T object) {
                return !inner.applyAsBoolean(object);
            }
        }

        return new NegateBoolean(expression);
    }
Creates and returns an expression that will compute the negative result
of the specified expression.

@param expression  the input expression
@param <T>         the input type
@return            the new expression
runtime-parent/runtime-compute/src/main/java/com/speedment/runtime/compute/internal/expression/NegateUtil.java