Revision 43983 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/BitOrFunction.java
BitOrFunction.java | ||
---|---|---|
7 | 7 |
public class BitOrFunction extends AbstractFunction { |
8 | 8 |
|
9 | 9 |
public BitOrFunction() { |
10 |
super("Numeric", "BITOR", Range.is(2)); |
|
10 |
super("Numeric", "BITOR", Range.is(2), |
|
11 |
"The BITOR function treats its inputs and its output as vectors of bits; the output is the bitwise OR of the inputs.\n" + |
|
12 |
"\n" + |
|
13 |
"The types of expr1 and expr2 are INTEGER or LONG, and the result is of type INTEGER or LONG.\n" + |
|
14 |
"If the types of expr1 or expr2 are not INTEGER or LONG a error is raised.\n", |
|
15 |
"BITOR({{expr1}}, expr2)", |
|
16 |
new String[]{ |
|
17 |
"expr1 - the fisrt argument", |
|
18 |
"expr2 - the second argument" |
|
19 |
}, |
|
20 |
"Long" |
|
21 |
); |
|
11 | 22 |
} |
12 | 23 |
|
13 | 24 |
@Override |
Also available in: Unified diff