|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.yahoo.shopping.Avg
public class Avg
Computes the average of the values in an Integer array.
Constructor Summary | |
---|---|
Avg()
|
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 |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Avg()
Method Detail |
---|
public java.lang.Integer aggregate(java.lang.Integer[] hitScores)
aggregate
in interface AggregationFunction
public java.lang.Integer aggregate(java.lang.Integer[] hitScores, java.lang.Integer[] bottomScores)
aggregate
in interface AggregationFunction
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |