01: package com.calipso.reportgenerator.reportcalculator;
02:
03: /**
04: *
05: * User: jbassino
06: * Date: 12-may-2005
07: * Time: 16:24:28
08: * Calipso Software
09: */
10: public class GreaterThanOperation extends FilterOperation {
11: private float baseValue;
12:
13: public GreaterThanOperation(float value) {
14: super ();
15: this .baseValue = value;
16: }
17:
18: protected boolean accept(SharedFloat value) {
19: return value.floatValue() > this.baseValue;
20: }
21: }
|