|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||

java.lang.Objectfr.ocelet.runtime.affectoperators.Mean<T>
public class Mean<T extends java.lang.Number>
Returns the mean of all the values contained in the argument vector. This AffectOperator should only be used with number properties.
AffectOperator| Constructor Summary | |
|---|---|
Mean()
|
|
| Method Summary | |
|---|---|
T |
compute(java.util.ArrayList<T> future)
Computes all the candidate values and produces one unique value of the same type to be used for property affectation. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Mean()
| Method Detail |
|---|
public T compute(java.util.ArrayList<T> future)
compute in interface AffectOperator<T extends java.lang.Number>future - Vector of candidate values.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||