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