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/BitAndFunction.java
BitAndFunction.java | ||
---|---|---|
8 | 8 |
|
9 | 9 |
public BitAndFunction() { |
10 | 10 |
super("Numeric", "BITAND", Range.is(2), |
11 |
"The bitwise AND operation. This method returns a long", |
|
12 |
null |
|
11 |
"The BITAND function treats its inputs and its output as vectors of bits; the output is the bitwise AND 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 |
"BITAND({{expr1}}, expr2)", |
|
16 |
new String[]{ |
|
17 |
"expr1 - the fisrt argument", |
|
18 |
"expr2 - the second argument" |
|
19 |
}, |
|
20 |
"Long" |
|
13 | 21 |
); |
14 | 22 |
} |
15 | 23 |
|
Also available in: Unified diff