Revision 45739 trunk/org.gvsig.desktop/org.gvsig.desktop.library/org.gvsig.expressionevaluator/org.gvsig.expressionevaluator.lib/org.gvsig.expressionevaluator.lib.impl/src/main/java/org/gvsig/expressionevaluator/impl/DefaultSymbolTable.java
DefaultSymbolTable.java | ||
---|---|---|
16 | 16 |
|
17 | 17 |
public DefaultSymbolTable(String name) { |
18 | 18 |
super(name); |
19 |
// this.functions = new HashMap<>(); |
|
20 | 19 |
this.init(); |
21 | 20 |
} |
22 | 21 |
|
... | ... | |
29 | 28 |
manager.populateSymbolTable(this); |
30 | 29 |
} |
31 | 30 |
|
32 |
// @Override |
|
33 |
// public void setVar(String name, Object value) { |
|
34 |
// if( StringUtils.isEmpty(name) ) { |
|
35 |
// throw new IllegalArgumentException("name can't be null"); |
|
36 |
// } |
|
37 |
// this.getVars().put(name.toUpperCase(), value); |
|
38 |
// } |
|
39 |
// |
|
40 |
// @Override |
|
41 |
// public void addFunction(Function function) { |
|
42 |
// super.addFunction(function); |
|
43 |
// } |
|
44 |
// |
|
45 |
// @Override |
|
46 |
// public void addFunctions(Collection<Function> functions) { |
|
47 |
// for (Function function : functions) { |
|
48 |
// this.addFunction(function); |
|
49 |
// } |
|
50 |
// } |
|
51 |
// |
|
52 |
// @Override |
|
53 |
// public void removeVar(String name) { |
|
54 |
// if( StringUtils.isEmpty(name) ) { |
|
55 |
// throw new IllegalArgumentException("name can't be null"); |
|
56 |
// } |
|
57 |
// this.getVars().remove(name.toUpperCase()); |
|
58 |
// } |
|
59 |
// |
|
60 |
// @Override |
|
61 |
// public void removeFunction(String name) { |
|
62 |
// if( StringUtils.isEmpty(name) ) { |
|
63 |
// throw new IllegalArgumentException("name can't be null"); |
|
64 |
// } |
|
65 |
// this.functions.remove(name.toUpperCase()); |
|
66 |
// } |
|
67 |
|
|
68 | 31 |
@Override |
69 | 32 |
public MutableSymbolTable clone() throws CloneNotSupportedException { |
70 | 33 |
throw new CloneNotSupportedException("Not supported yet."); |
Also available in: Unified diff