member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type">void</span>&nbsp;<span class="element-name">add</span><wbr><span class="parameters">(double&nbsp;value)</span></div>
<div class="block">Add a value to the moving average.</div>
<dl class="notes">
<dt>Parameters:</dt>
<dd><code>value</code> - value to add</dd>
<dt>Throws:</dt>
<dd><code><a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/IllegalArgumentException.html" title="class or interface i