KickJava   Java API By Example, From Geeks To Geeks.

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


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

10 public class LesserThanOperation extends FilterOperation {
11   private float baseValue;
12
13   public LesserThanOperation(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