org.datanucleus.query.evaluator.memory
Class NumericAggregateExpression

java.lang.Object
  extended by org.datanucleus.query.evaluator.memory.AggregateExpression
      extended by org.datanucleus.query.evaluator.memory.NumericAggregateExpression
Direct Known Subclasses:
BigDecimalAggregateExpression, BigIntegerAggregateExpression, DoubleAggregateExpression, FloatAggregateExpression, IntegerAggregateExpression, LongAggregateExpression, ShortAggregateExpression

public class NumericAggregateExpression
extends AggregateExpression


Constructor Summary
NumericAggregateExpression(java.lang.Number value)
           
 
Method Summary
 java.lang.Object add(java.lang.Object obj)
           
 java.lang.Object div(java.lang.Object obj)
           
 java.lang.Object sub(java.lang.Object obj)
           
 
Methods inherited from class org.datanucleus.query.evaluator.memory.AggregateExpression
eq, gt, lt
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NumericAggregateExpression

public NumericAggregateExpression(java.lang.Number value)
Method Detail

add

public java.lang.Object add(java.lang.Object obj)
Overrides:
add in class AggregateExpression

sub

public java.lang.Object sub(java.lang.Object obj)
Overrides:
sub in class AggregateExpression

div

public java.lang.Object div(java.lang.Object obj)
Overrides:
div in class AggregateExpression


Copyright © 2009. All Rights Reserved.