svn-gvsig-desktop / 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 / symboltable / UtilsSymbolTable.java @ 44644
History | View | Annotate | Download (768 Bytes)
1 | 43983 | jjdelcerro | package org.gvsig.expressionevaluator.impl.symboltable; |
---|---|---|---|
2 | |||
3 | import org.gvsig.expressionevaluator.Function; |
||
4 | 44098 | jjdelcerro | import org.gvsig.expressionevaluator.impl.function.numeric.DecrFunction; |
5 | import org.gvsig.expressionevaluator.impl.function.numeric.IncrFunction; |
||
6 | 43983 | jjdelcerro | import org.gvsig.expressionevaluator.spi.AbstractSymbolTable; |
7 | |||
8 | /**
|
||
9 | *
|
||
10 | * @author jjdelcerro
|
||
11 | */
|
||
12 | 44098 | jjdelcerro | public class UtilsSymbolTable extends AbstractSymbolTable { |
13 | 44126 | jjdelcerro | static final String NAME = "Utilities"; |
14 | 43983 | jjdelcerro | |
15 | 43987 | jjdelcerro | @SuppressWarnings("OverridableMethodCallInConstructor") |
16 | 44098 | jjdelcerro | public UtilsSymbolTable() {
|
17 | 44126 | jjdelcerro | super(NAME);
|
18 | 44006 | jjdelcerro | |
19 | 44098 | jjdelcerro | this.addFunction(new IncrFunction()); |
20 | this.addFunction(new DecrFunction()); |
||
21 | |||
22 | 43983 | jjdelcerro | } |
23 | |||
24 | private void addOperator(Function operator) { |
||
25 | this.addFunction(operator);
|
||
26 | } |
||
27 | |||
28 | } |