title: Java switch statement to handle two variables?
body: <p>I'm looking for a way to handle two strings using a single switch, I'm thinking this impossible within Java.</p>
  
  <p>Here is some pseudo code of the kind of thing I want to achieve with a switch only.</p>
  
  <pre><code>    int s1Value = 0;
      int s2Value = 0;
      String s1 = "a";
      String s2 = "g";
      switch (s1 || s2) {
           case "a": s1value = 0; s2value = 0; break;
           case "b": s1value = 1; s2value = 1; break;
           case "c": s1value = 2; s2value = 2; break;
           case "d": s1value = 3; s2value = 3; break;
           case "e": s1value = 4; s2value = 4; break;
           case "f": s1value = 5; s2value = 5; break;
           case "g": s1value = 6; s2value = 6; break;
      }
  </code></pre>