@Override public Set<SelectorName> selectorNames() { return operand.selectorNames(); }
@Override public Set<SelectorName> selectorNames() { return operand.selectorNames(); }
@Override public Set<SelectorName> selectorNames() { return operand.selectorNames(); }
@Override public Set<SelectorName> selectorNames() { return operand.selectorNames(); }
@Override public Set<SelectorName> selectorNames() { return operand.selectorNames(); }
@Override public Set<SelectorName> selectorNames() { return operand.selectorNames(); }
/** * Get the selector symbol upon which this operand applies. * * @return the one selector names used by this operand; never null */ public SelectorName selectorName() { return operand.selectorNames().iterator().next(); }
/** * Get the selector symbol upon which this operand applies. * * @return the one selector names used by this operand; never null */ public SelectorName selectorName() { return operand.selectorNames().iterator().next(); }
/** * Get the selector symbol upon which this operand applies. * * @return the one selector names used by this operand; never null */ public SelectorName selectorName() { return operand.selectorNames().iterator().next(); }
/** * Get the selector symbol upon which this operand applies. * * @return the one selector names used by this operand; never null */ public SelectorName selectorName() { return operand.selectorNames().iterator().next(); }
/** * Get the selector symbol upon which this operand applies. * * @return the one selector names used by this operand; never null */ public SelectorName selectorName() { return operand.selectorNames().iterator().next(); }
/** * Get the selector symbol upon which this operand applies. * * @return the one selector names used by this operand; never null */ public SelectorName selectorName() { return operand.selectorNames().iterator().next(); }
/** * Create a arithmetic dynamic operand that operates upon the supplied operand(s). * * @param left the left-hand-side operand * @param operator the arithmetic operator; may not be null * @param right the right-hand-side operand * @throws IllegalArgumentException if any of the arguments is null */ public ArithmeticOperand( DynamicOperand left, ArithmeticOperator operator, DynamicOperand right ) { CheckArg.isNotNull(operator, "operator"); this.selectorNames = SelectorName.nameSetFrom(left.selectorNames(), right.selectorNames()); this.operator = operator; this.left = left; this.right = right; this.hc = HashCode.compute(left, operator, right); }
/** * Create a arithmetic dynamic operand that operates upon the supplied operand(s). * * @param left the left-hand-side operand * @param operator the arithmetic operator; may not be null * @param right the right-hand-side operand * @throws IllegalArgumentException if any of the arguments is null */ public ArithmeticOperand( DynamicOperand left, ArithmeticOperator operator, DynamicOperand right ) { CheckArg.isNotNull(operator, "operator"); this.selectorNames = SelectorName.nameSetFrom(left.selectorNames(), right.selectorNames()); this.operator = operator; this.left = left; this.right = right; this.hc = HashCode.compute(left, operator, right); }
SetCriteria set = (SetCriteria)constraint; DynamicOperand oldLeft = set.leftOperand(); Set<SelectorName> selectorNames = oldLeft.selectorNames(); if (selectorNames.size() == 1 && !selectorNames.contains(mapping.getOriginalName())) return set; DynamicOperand newLeft = replaceViewReferences(context, oldLeft, mapping, node);
SetCriteria set = (SetCriteria)constraint; DynamicOperand oldLeft = set.leftOperand(); Set<SelectorName> selectorNames = oldLeft.selectorNames(); if (selectorNames.size() == 1 && !selectorNames.contains(mapping.getOriginalName())) return set; DynamicOperand newLeft = replaceViewReferences(context, oldLeft, mapping, node);