Compares the field number of t specified in the constructor to the operand field specified in the constructor using the operator specific in the constructor. The comparison can be made through Field's compare method. @param t The tuple to compare against @return true if the comparison is
(Tuple t)
| 107 | * @return true if the comparison is true, false otherwise. |
| 108 | */ |
| 109 | public boolean filter(Tuple t) { |
| 110 | // some code goes here |
| 111 | Field field = t.getField(this.field); |
| 112 | return field.compare(this.op,this.operand); |
| 113 | } |
| 114 | |
| 115 | /** |
| 116 | * Returns something useful, like "f = field_id op = op_string operand = |