KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > calipso > reportgenerator > reportcalculator > GreaterThanOperation


1 package com.calipso.reportgenerator.reportcalculator;
2
3 /**
4  *
5  * User: jbassino
6  * Date: 12-may-2005
7  * Time: 16:24:28
8  * Calipso Software
9  */

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 }
22
Popular Tags