if (x < … || and >= …) — Why does this not compile?
<p>When I compile this code:</p>

<pre><code>if (yPix &lt; 0 || &gt;= render.LENGTH) …
</code></pre>

<p>I get the following two errors:</p>

<blockquote>
  <p><em>Syntax error on token <code>&gt;=</code>, delete this token.</em></p>
</blockquote>

<p>and</p>

<blockquote>
  <p><em>The operator <code>||</code> is undefined for the argument type(s) <code>boolean</code>, <code>int</code>.</em></p>
</blockquote>

<p>How do I fix this? I am new to Java.</p>
