Class AvgWindSpeed

java.lang.Object
  
public class AvgWindSpeed
extends Grootheid


Field Summary
 
Fields inherited from class
list
 
Constructor Summary
AvgWindSpeed(Measurement measurement1, ArrayList<Measurement> measurement2)
           
 
Method Summary
 double calculate(double value)
           
 void updatePeriod(ArrayList<Measurement> measurement2)
           
 void updateRecent(Measurement measurement1)
           
 
Methods inherited from class
afwijking, avg, display, displayGraph, getCurrent, getCustom, getMax, getMin, getName, getPeriod, getStatics, maxMin, median, modus, setCurrent, setCustom, setMax, setMin, setName, setPeriod, setStatics_name, setStatics
 
Methods inherited from class
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AvgWindSpeed

public AvgWindSpeed(Measurement measurement1,
                    ArrayList<Measurement> measurement2)
Method Detail

calculate

public double calculate(double value)
Overrides:
calculate in class Grootheid

updatePeriod

public void updatePeriod(ArrayList<Measurement> measurement2)
Overrides:
updatePeriod in class Grootheid

updateRecent

public void updateRecent(Measurement measurement1)
Overrides:
updateRecent in class Grootheid