java switch case question
<pre><code>public String sizeOfSupermarket() {
    String size;
    switch (this.numberOfProducts) {
        case (this.numberOfProducts &gt;  5000):
            size = "Large";
            break;
        case (this.numberOfProducts &gt;  2000 &amp;&amp; this.numberOfProducts &lt; 5000):
            size = "Medium";
            break;
        case (this.numberOfProducts &lt;  2000):
            size = "Small";
            break;
    }
    return size;
}
</code></pre>

<p>the above is wrong, how to write the compare statement in  case statement?</p>
