1 package com.calipso.reportgenerator.reportcalculator.arithmetic; 2 3 import java.util.Map ; 4 import java.io.Serializable ; 5 6 9 10 public class ConstantArithmeticExp extends ValueArithmeticExp implements Serializable { 11 private float value; 12 13 17 public ConstantArithmeticExp(float value) { 18 this.value = value; 19 } 20 21 26 public float value(Map context) { 27 return value; 28 } 29 30 34 public String toString() { 35 return String.valueOf(value); 36 } 37 } 38 | Popular Tags |