1 package com.calipso.reportgenerator.reportcalculator.expression; 2 3 import java.util.HashMap ; 4 import java.io.Serializable ; 5 6 10 11 public class Context implements Serializable { 12 HashMap content; 13 14 17 public Context() { 18 content = new HashMap (); 19 } 20 21 26 public Object valueFor(Object reference) { 27 return content.get(reference); 28 } 29 30 35 public void add(Object key, Object value) { 36 content.put(key, value); 37 } 38 } 39 | Popular Tags |