db-jdo-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From an...@apache.org
Subject svn commit: r1693706 - /db/jdo/trunk/api/src/java/javax/jdo/query/NumericExpression.java
Date Sat, 01 Aug 2015 13:52:48 GMT
Author: andyj
Date: Sat Aug  1 13:52:48 2015
New Revision: 1693706

URL: http://svn.apache.org/r1693706
Log:
Add bitwise operations to NumericExpression

Modified:
    db/jdo/trunk/api/src/java/javax/jdo/query/NumericExpression.java

Modified: db/jdo/trunk/api/src/java/javax/jdo/query/NumericExpression.java
URL: http://svn.apache.org/viewvc/db/jdo/trunk/api/src/java/javax/jdo/query/NumericExpression.java?rev=1693706&r1=1693705&r2=1693706&view=diff
==============================================================================
--- db/jdo/trunk/api/src/java/javax/jdo/query/NumericExpression.java (original)
+++ db/jdo/trunk/api/src/java/javax/jdo/query/NumericExpression.java Sat Aug  1 13:52:48 2015
@@ -188,4 +188,25 @@ public interface NumericExpression<T> ex
      * @return The floor value expression
      */
     NumericExpression floor();
+
+    /**
+     * Method to return a bitwise AND expression for this expression with the supplied bit
path.
+     * @param bitExpr Bit expression
+     * @return Bitwise AND expression
+     */
+    NumericExpression bAnd(NumericExpression bitExpr);
+
+    /**
+     * Method to return a bitwise OR expression for this expression with the supplied bit
path.
+     * @param bitExpr Bit expression
+     * @return Bitwise OR expression
+     */
+    NumericExpression bOr(NumericExpression bitExpr);
+
+    /**
+     * Method to return a bitwise XOR expression for this expression with the supplied bit
path.
+     * @param bitExpr Bit expression
+     * @return Bitwise XOR expression
+     */
+    NumericExpression bXor(NumericExpression bitExpr);
 }
\ No newline at end of file



Mime
View raw message