Copyright © 2011 Citra Technologies. All Rights Reserved.

com.citra.pivot.table.aggregator
Class Functions.MaxFunction

java.lang.Object
  extended by com.citra.pivot.table.aggregator.Functions.MaxFunction
All Implemented Interfaces:
Functions.Function
Enclosing class:
Functions

public static class Functions.MaxFunction
extends Object
implements Functions.Function

The max function.


Constructor Summary
Functions.MaxFunction()
           
 
Method Summary
 Object evaluate(List values, OlapType type)
          Produces an aggregate from a list of values.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Functions.MaxFunction

public Functions.MaxFunction()
Method Detail

evaluate

public Object evaluate(List values,
                       OlapType type)
Produces an aggregate from a list of values.

Specified by:
evaluate in interface Functions.Function
Parameters:
values - the list of values
type - the data type the evaluation will be based on
Returns:
the aggregate value

Copyright © 2011 Citra Technologies. All Rights Reserved.