All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.speedment.runtime.compute.expression.predicate.IsNull Maven / Gradle / Ivy

package com.speedment.runtime.compute.expression.predicate;

/**
 * @author Emil Forslund
 * @since  3.1.2
 */
public interface IsNull
extends NullPredicate {

    @Override
    default NullPredicateType nullPredicateType() {
        return NullPredicateType.IS_NULL;
    }

    @Override
    default boolean test(T in) {
        final R result = expression().apply(in);
        return result == null;
    }

    @Override
    IsNotNull negate();
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy