Example #1
0
File: Sum.java Project: inqwell/inq
 public void visitAnyShort(ShortI s) {
   // Only called when we are setting up the result
   AnyInt i = new AnyInt();
   if (s.isNull()) {
     i.setNull();
     isNull_ = true;
   } else i.setValue(s.getValue());
   sum_ = i;
 }
Example #2
0
 public void visitAnyShort(ShortI s) {
   result_ = getBooleanResult(s.equals(op2_));
 }