src/main/java/org/criteria4jpa/criterion/Restrictions.java
public static Criterion in(String relativePath, Collection<?> values) {
    return new InExpression(relativePath, values.toArray());
  }
public static Criterion in(String relativePath, Collection<?> values) {
    return new InExpression(relativePath, values.toArray());
  }
public static Criterion in ( String relativePath , Collection < ? > values ) { return new InExpression ( relativePath , values . toArray ( ) ) ; }
Adds an "in" restriction to a persistent field.

@param relativePath relative path of the persistent field
@param values expected values of the field
@return {@link Criterion} instance
Adds an in restriction to a persistent field .