db-jdo-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From an...@apache.org
Subject svn commit: r1690912 - /db/jdo/trunk/api/src/java/javax/jdo/query/NumericExpression.java
Date Tue, 14 Jul 2015 12:28:42 GMT
Author: andyj
Date: Tue Jul 14 12:28:41 2015
New Revision: 1690912

URL: http://svn.apache.org/r1690912
Log:
Add negate() method

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=1690912&r1=1690911&r2=1690912&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 Tue Jul 14 12:28:41 2015
@@ -94,6 +94,12 @@ public interface NumericExpression<T> ex
     NumericExpression mod(Number num);
 
     /**
+     * Method to return an expression that is the current expression negated.
+     * @return The negated expression
+     */
+    NumericExpression neg();
+
+    /**
      * Method to return a numeric expression representing the aggregated average of this
expression.
      * @return Numeric expression for the average
      */



Mime
View raw message