public static Condition in(String name, Object... values) {
        List<Condition> conditions = new ArrayList<Condition>();
        for (Object value : values) {
            conditions.add(eq(name, value));
        }
        return or(conditions.toArray(new Condition[conditions.size()]));
    }
public static Condition in ( String name , Object ... values ) { List < Condition > conditions = new ArrayList < Condition > ( ) ; for ( Object value : values ) { conditions . add ( eq ( name , value ) ) ; } return or ( conditions . toArray ( new Condition [ conditions . size ( ) ] ) ) ; }
Returns "IN" condition for property by <code>name</code> and allowed set of <code>values</code>

@param name - name of property
@param values - array of allowed values
@return condition