JPA Method
in javax.persistence.criteria.CriteriaBuilder

Predicate and(
  Expression<Boolean> x, 
  Expression<Boolean> y
)


Create a conjunction of the given boolean expressions.
Parameters:
x - boolean expression
y - boolean expression
Return:
and predicate
Since:
JPA 2.0