in(values) - JPA Expression's method

Method
javax.persistence.criteria.Expression
Predicate in(
  Collection<?> values
)

Create a predicate to test whether the expression is a member of the collection.
Parameters:
values - collection of values to be tested against
Returns:
predicate testing for membership
Since:
JPA 2.0