Exemple #1
0
 public void visitAnyInt(IntI i) {
   if (count_ > 0) i.setValue(i.getValue() / count_);
   else if (tmp_ == null) {
     sum_ = i.cloneAny();
     if (i.isNull()) isNull_ = true;
   } else {
     IntI i2 = (IntI) tmp_;
     if (i2.isNull()) {
       i.setNull();
       isNull_ = true;
     } else i.setValue(i.getValue() + i2.getValue());
   }
 }
Exemple #2
0
 public void visitAnyInt(IntI i) {
   result_ = getBooleanResult(i.equals(op2_));
 }