Revision 44206 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/function/numeric/DecrFunction.java

View differences:

DecrFunction.java
1 1
package org.gvsig.expressionevaluator.impl.function.numeric;
2 2

  
3 3
import org.apache.commons.lang3.Range;
4
import static org.gvsig.expressionevaluator.ExpressionBuilder.FUNCTION_DECR;
4 5
import org.gvsig.expressionevaluator.Interpreter;
5 6
import org.gvsig.expressionevaluator.MutableSymbolTable;
6 7
import org.gvsig.expressionevaluator.spi.AbstractFunction;
......
8 9
public class DecrFunction extends AbstractFunction {
9 10

  
10 11
    public DecrFunction() {
11
        super("Numeric", "DECR",Range.between(1,3),
12
        super("Numeric", FUNCTION_DECR,Range.between(1,3),
12 13
            "Decrease the value of the indicated identifier and return its value.",
13
            "Decr({{identifier_name}})",
14
            FUNCTION_DECR+"('CONTADOR#1')",
14 15
            new String[]{
15 16
                "identifier name - the identifier used as counter.",
16 17
                "first value - Optional. The value with which the identifier must be initialized in its first use. By default zero",

Also available in: Unified diff