/** * Create a new LESS OR EQUALS specification for a Property. * * @param property a Property * @param value its value * * @return a new LESS OR EQUALS specification for a Property. */ public static <T> LeSpecification<T> le( Property<T> property, T value ) { return new LeSpecification<>( property( property ), value ); }
/** * Create a new LESS OR EQUALS specification for a Property using a named Variable. * * @param property a Property * @param variable a Query Variable * * @return a new LESS OR EQUALS specification for a Property using a named Variable. */ @SuppressWarnings( {"raw", "unchecked"} ) public static <T> LeSpecification<T> le( Property<T> property, Variable variable ) { return new LeSpecification( property( property ), variable ); }