lessThanOrEqualTo(x, y) - JPA CriteriaBuilder's method

Method
javax.persistence.criteria.CriteriaBuilder
Predicate lessThanOrEqualTo(
  Expression<?> x,
  Y y
)

Create a predicate for testing whether the first argument is less than or equal to the second.
Parameters:
x - expression
y - value
Returns:
less-than-or-equal predicate
Since:
JPA 2.0