title: Boolean logic in switch case statement - Java
body: <pre><code> switch (i) {
       case ("+" || "/"):  
          setOperator("i");
          break;
   }
  </code></pre>
  
  <p>What is the best way to do this in Java?</p>