Returns the collection of IN clause values.

@param inClauseValues
the in clause values
@return the in values collection
766794
private Collection getInValuesCollection(Expression inClauseValues)
    {
        Collection inParameterCollection = new ArrayList<>();
        if (inClauseValues instanceof NullExpression)
        {
            log.debug("No items passed in IN clause values, returning blank IN values list");
            return inParameterCollection;
        }

        if (inClauseValues instanceof InputParameter)
        {
            Object inValues = kunderaQuery.getParametersMap().get(inClauseValues.toParsedText());
            log.debug(inClauseValues.toParsedText() + "named parameter found in query, Replacing parameter with "
                    + inValues);

            inParameterCollection = inValues.getClass().isArray() ? Arrays.asList((Object[]) inValues)
                    : (Collection) kunderaQuery.getParametersMap().get(inClauseValues.toParsedText());

            return inParameterCollection;
        }

        if (inClauseValues instanceof CollectionExpression)
        {
            Iterator inValueIterator = ((CollectionExpression) inClauseValues).children().iterator();

            log.debug("Collection object found for IN clause values");
            while (inValueIterator.hasNext())
            {
                Expression value = (Expression) inValueIterator.next();
                inParameterCollection.add(value.toParsedText());
            }
            return inParameterCollection;
        }

        throw new KunderaException(inClauseValues.toParsedText() + " not supported for IN clause");
    }
909698
public static Restriction in(String property, Object... values) {
        return new In(property, Arrays.asList(values));
    }
814264
public void collectMarkerSpecification(VariableSpecifications boundNames)
    {
        if (collectionElement != null)
            collectionElement.collectMarkerSpecification(boundNames);

        if (operator.equals(Operator.IN) && inValues != null)
        {
            for (Term value : inValues)
                value.collectMarkerSpecification(boundNames);
        }
        else
        {
            value.collectMarkerSpecification(boundNames);
        }
    }
694661
public Entity getValues(int i) {
    if (Document_Type.featOkTst && ((Document_Type)jcasType).casFeat_values == null)
      jcasType.jcas.throwFeatMissing("values", "de.julielab.jules.types.ace.Document");
    jcasType.jcas.checkArrayBounds(jcasType.ll_cas.ll_getRefValue(addr, ((Document_Type)jcasType).casFeatCode_values), i);
    return (Entity)(jcasType.ll_cas.ll_getFSForRef(jcasType.ll_cas.ll_getRefArrayValue(jcasType.ll_cas.ll_getRefValue(addr, ((Document_Type)jcasType).casFeatCode_values), i)));}
371633
public static Predicate in(final String expr, final Object... values) {
        return in(expr, Arrays.asList(values));
    }
846155
public static Map<String, List<String> > getEvaluatedNavigationParameters(
            FacesContext facesContext, 
            Map<String, List<String> > parameters)
    {
        Map<String,List<String>> evaluatedParameters = null;
        if (parameters != null && parameters.size() > 0)
        {
            evaluatedParameters = new HashMap<String, List<String>>();
            for (Map.Entry<String, List<String>> pair : parameters.entrySet())
            {
                boolean containsEL = false;
                for (String value : pair.getValue())
                {
                    if (_isExpression(value))
                    {
                        containsEL = true;
                        break;
                    }
                }
                if (containsEL)
                {
                    evaluatedParameters.put(pair.getKey(), 
                            _evaluateValueExpressions(facesContext, pair.getValue()));
                }
                else
                {
                    evaluatedParameters.put(pair.getKey(), pair.getValue());
                }
            }
        }
        else
        {
            evaluatedParameters = parameters;
        }
        return evaluatedParameters;
    }
1371582
public List<IncEvalState> getStates() {
    List<IncEvalState> states = Lists.newArrayList();
    getStatesHelper(states);
    return states;
  }
774013
@SuppressWarnings("unchecked")
	public <E> TerminalResult IN_list(E... value) {
		getPredicateExpression().setOperator(Operator.IN);
		getPredicateExpression().setValue_2(value);
		TerminalResult ret = APIAccess.createTerminalResult(this.getPredicateExpression());
		QueryRecorder.recordInvocation(this, "IN_list", ret, QueryRecorder.placeHolder(value));
		return ret;
	}
1352933
public DataBuffer getIncludedValues() {
        List<Double> val = new ArrayList<>();

        for (int i = 0; i < values.length(); i++) {
            boolean isIn = true;
            int idxNotFixed = 0;
            int[] idx = getUnderlyingIndicesOf(i).asInt();
            for (int dim = 0; dim < idx.length; dim++) {
                if (flags()[dim] == 1) {
                    if (sparseOffsets()[dim] != idx[dim]) {
                        isIn = false;
                        break;
                    }
                } else {
                    int lowerBound = sparseOffsets()[dim];
                    long upperBound = sparseOffsets()[dim] + shape()[idxNotFixed];
                    if (!(idx[dim] >= lowerBound && idx[dim] < upperBound)) {
                        isIn = false;
                        break;
                    }
                    idxNotFixed++;
                }
            }
            if (isIn) {
                val.add(values.getDouble(i));
            }
        }
        return Nd4j.createBuffer(Doubles.toArray(val));
    }
1089334
public void setEvaluationResults(java.util.Collection<EvaluationResult> evaluationResults) {
        if (evaluationResults == null) {
            this.evaluationResults = null;
            return;
        }

        this.evaluationResults = new com.amazonaws.internal.SdkInternalList<EvaluationResult>(evaluationResults);
    }
474420
@Override
  public final Double[] evalDoubleResults(
    final String pQuery, final String[] pColumnNames) throws Exception {
    Double[] result = new Double[pColumnNames.length];
    IRecordSet<RS> recordSet = null;
    try {
      recordSet = retrieveRecords(pQuery);
      if (recordSet.moveToFirst()) {
        for (int i = 0; i < pColumnNames.length; i++) {
          result[i] = recordSet.getDouble(pColumnNames[i]);
        }
      }
    } finally {
      if (recordSet != null) {
        recordSet.close();
      }
    }
    return result;
  }
837433
public List<String> getBoundVariablesInScope(final BaseSingleFieldConstraint con) {
        final List<String> result = new ArrayList<String>();
        for (int i = 0; i < this.lhs.length; i++) {
            IPattern pat = this.lhs[i];
            if (findBoundVariableNames(con,
                                       result,
                                       pat)) {
                return result;
            }
        }
        return result;
    }
405928
protected final List<String> getStringListValue(final String inPropertyName) {

        List<String> result = null;
        String value = this.properties.getProperty(inPropertyName);
        if (value != null) {
            String[] temp = value.split("\\s+");
            result = new ArrayList<>(temp.length);
            for (String s : temp) {
                String trimmed = s.trim();
                if (trimmed.length() > 0) {
                    result.add(s.trim());
                }
            }
        }
        return result;
    }
973430
protected void addInvalidValues(Set<ConstraintViolation<T>> invalidValues) {
		if (invalidValues != null) {
			for (ConstraintViolation invalidValue : invalidValues) {
				results.addMessage(translateMessage(invalidValue));
			}
		}
	}
795202
public static Query in(String field, Object... values) {
        return new Query().in(field, values);
    }
80138
public Criteria in(Iterable<?> values) {
		Assert.notNull(values, "Collection of 'in' values must not be null");
		for (Object value : values) {
			if (value instanceof Collection) {
				in((Collection<?>) value);
			} else {
				is(value);
			}
		}
		return this;
	}
1245715
public static Evaluation getEvaluation(ComputationGraph model, MultiDataSetIterator testData) {
        if (model.getNumOutputArrays() != 1)
            throw new IllegalStateException("GraphSetSetAccuracyScoreFunction cannot be "
                            + "applied to ComputationGraphs with more than one output. NumOutputs = "
                            + model.getNumOutputArrays());

        return model.evaluate(testData);
    }