public void visitAnyDouble(DoubleI d) { if (count_ > 0) d.setValue(d.getValue() / count_); else if (tmp_ == null) { sum_ = d.cloneAny(); if (d.isNull()) isNull_ = true; } else { DoubleI d2 = (DoubleI) tmp_; if (d2.isNull()) { d.setNull(); isNull_ = true; } else d.setValue(d.getValue() + d2.getValue()); } }
public void visitAnyDouble(DoubleI d) { result_ = getBooleanResult(d.equals(op2_)); }