|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectedu.udo.cs.yale.example.ScalingWeightApplier
public class ScalingWeightApplier
This weight applier scales the values with the given weight.
| Constructor Summary | |
|---|---|
ScalingWeightApplier()
|
|
| Method Summary | |
|---|---|
double |
applyWeight(double value,
double weight)
Returns the product of value and weight. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ScalingWeightApplier()
| Method Detail |
|---|
public double applyWeight(double value,
double weight)
applyWeight in interface WeightApplier
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||