com.yahoo.shopping
Class Sum

java.lang.Object
  extended by com.yahoo.shopping.Sum
All Implemented Interfaces:
AggregationFunction

public class Sum
extends java.lang.Object
implements AggregationFunction


Constructor Summary
Sum()
           
 
Method Summary
 java.lang.Integer aggregate(java.lang.Integer[] hitScores)
           
 java.lang.Integer aggregate(java.lang.Integer[] hitScores, java.lang.Integer[] bottomScores)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Sum

public Sum()
Method Detail

aggregate

public java.lang.Integer aggregate(java.lang.Integer[] hitScores)
Specified by:
aggregate in interface AggregationFunction

aggregate

public java.lang.Integer aggregate(java.lang.Integer[] hitScores,
                                   java.lang.Integer[] bottomScores)
Specified by:
aggregate in interface AggregationFunction