def next(self, newValue):
newAverage, self.slidingWindow, self.total = self.compute(<EOL>self.slidingWindow, self.total, newValue, self.windowSize)<EOL>return newAverage<EOL>
Instance method wrapper around compute.