/** * Conform in-memory the collection of left values with the right value for this expression. * This is used for anyOf support when the left side is a collection of values. */ protected boolean doesAnyOfLeftValuesConform(Vector leftValues, Object rightValue, AbstractSession session) { // Check each left value with the right value. for (int index = 0; index < leftValues.size(); index++) { Object leftValue = leftValues.get(index); if (doValuesConform(leftValue, rightValue, session)) { // Return true if any value matches. return true; } } // Return false only if none of the values match. return false; }
/** * Conform in-memory the collection of left values with the right value for this expression. * This is used for anyOf support when the left side is a collection of values. */ protected boolean doesAnyOfLeftValuesConform(Vector leftValues, Object rightValue, AbstractSession session) { // Check each left value with the right value. for (int index = 0; index < leftValues.size(); index++) { Object leftValue = leftValues.get(index); if (doValuesConform(leftValue, rightValue, session)) { // Return true if any value matches. return true; } } // Return false only if none of the values match. return false; }
/** * Conform in-memory the collection of left values with the right value for this expression. * This is used for anyOf support when the left side is a collection of values. */ protected boolean doesAnyOfLeftValuesConform(Vector leftValues, Object rightValue, AbstractSession session) { // Check each left value with the right value. for (int index = 0; index < leftValues.size(); index++) { Object leftValue = leftValues.get(index); if (doValuesConform(leftValue, rightValue, session)) { // Return true if any value matches. return true; } } // Return false only if none of the values match. return false; }
if (doValuesConform(leftValue, tempRight, session)) { return true; return doValuesConform(leftValue, rightValue, session);
if (doValuesConform(leftValue, tempRight, session)) { return true; return doValuesConform(leftValue, rightValue, session);
if (doValuesConform(leftValue, tempRight, session)) { return true; return doValuesConform(leftValue, rightValue, session);