Java: check if value is 100 or 200 or 300 or x00 : <p>In java, I increase a value in a <code>while</code> statement and I would like to perform an action when this value has specific values (without hardcoding it because it can in theory go to infinite):</p>

<p>100, 200, 300, x00, etc.</p>

<p>I know this has a specific name, but I cannot remember it (Modulo ? But if so, how ?).</p>
