org.weda.store.functions
Class Sum

java.lang.Object
  extended by org.weda.store.functions.Sum
All Implemented Interfaces:
SummaryFunction

public class Sum
extends java.lang.Object
implements SummaryFunction

Author:
Mikhail Titov

Constructor Summary
Sum()
           
 
Method Summary
 void finishCalculation()
           
 java.lang.Object getResultValue()
           
 void nextCalculation(java.lang.Object nextValue)
           
 void startCalculation(java.lang.Class valueType)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Sum

public Sum()
Method Detail

startCalculation

public void startCalculation(java.lang.Class valueType)
                      throws SummaryFunctionException
Specified by:
startCalculation in interface SummaryFunction
Throws:
SummaryFunctionException

nextCalculation

public void nextCalculation(java.lang.Object nextValue)
Specified by:
nextCalculation in interface SummaryFunction

getResultValue

public java.lang.Object getResultValue()
Specified by:
getResultValue in interface SummaryFunction

finishCalculation

public void finishCalculation()
Specified by:
finishCalculation in interface SummaryFunction


Copyright © 2005-2006 . All Rights Reserved.