public class KeyValuePairCollectionExpressionEvaluator extends AbstractCollectionExpressionEvaluator
KeyValuePair by comparing their keys and values.
The value can be omitted for KeyValuePairs of the right operand. Then all values of this key match.
CONTAINS_ALL, CONTAINS_ANY, IS_EMPTY, NOT_CONTAINS, SIZEallowLeftNull, LEFT_OP_MISSING, LEFT_OP_NOT_SUPPORTED, OPERATOR_MISSING, OPERATOR_NOT_SUPPORTED, RIGHT_OP_MISSING, RIGHT_OP_NOT_ALLOWED, RIGHT_OP_NOT_SUPPORTED| Constructor and Description |
|---|
KeyValuePairCollectionExpressionEvaluator() |
KeyValuePairCollectionExpressionEvaluator(java.util.Map<java.lang.String,java.util.Set<java.lang.Class>> operatorMap) |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
checkIfContainsAll(java.lang.Object rightOperand,
java.util.Collection operand)
Returns true if left operand Collection contains the right operand, or all of right operand elements if the right
operand is a collection.
|
protected boolean |
checkIfContainsAny(java.lang.Object rightOperand,
java.util.Collection operand)
Returns true left operand Collection contains the right operand or any of right operand elements, if the right
operand is a collection.
|
checkIfEmpty, checkIfNotContainsAny, checkIfSize, evaluateTermaddSupportedOperator, addSupportedOperator, addSupportedOperator, evaluate, getLeftType, getSupportedOperators, getSupportedRightTypes, isSupported, isSupportedpublic KeyValuePairCollectionExpressionEvaluator()
public KeyValuePairCollectionExpressionEvaluator(java.util.Map<java.lang.String,java.util.Set<java.lang.Class>> operatorMap)
protected boolean checkIfContainsAny(java.lang.Object rightOperand,
java.util.Collection operand)
AbstractCollectionExpressionEvaluatorcheckIfContainsAny in class AbstractCollectionExpressionEvaluatorprotected boolean checkIfContainsAll(java.lang.Object rightOperand,
java.util.Collection operand)
AbstractCollectionExpressionEvaluatorcheckIfContainsAll in class AbstractCollectionExpressionEvaluatorCopyright © 2018 SAP SE. All Rights Reserved.