title: Can I use MultiKeyMap to map key that is not a specific character
body: <p>I am trying to write logic that will consume 2 <code>Strings</code> and compute <code>MessageCategoryCodeEnum</code>:</p>
  
  <ul>
  <li>MessageCategory </li>
  <li>Result</li>
  </ul>
  
  <p>The logic is as follows:</p>
  
  <p><a href="https://i.stack.imgur.com/aP3xf.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/aP3xf.png" alt="enter image description here"></a></p>
  
  <p>I created code that handles only equals cases of <code>Result</code>, but I do not know how to handle NOT EQUALS cases from the table.</p>
  
  <pre><code>public class MessageCategory {
  
      public static MultiKeyMap&lt;String, MessageCategoryCodeEnum&gt; messageCategoryMap = new MultiKeyMap&lt;String, MessageCategoryCodeEnum&gt;();
      static {
          messageCategoryMap.put("Eligibility", "F", MessageCategoryCodeEnum.FATAL);
          messageCategoryMap.put("Validation", "F", MessageCategoryCodeEnum.WARNING);
          messageCategoryMap.put("Eligibility", "U", MessageCategoryCodeEnum.WARNING);
          messageCategoryMap.put("Validation", "U", MessageCategoryCodeEnum.WARNING);
          messageCategoryMap.put("Documentation", "U", MessageCategoryCodeEnum.WARNING);
          messageCategoryMap.put("Servicer Guidance", "U", MessageCategoryCodeEnum.WARNING);
          messageCategoryMap.put("Observation", "U", MessageCategoryCodeEnum.WARNING);
      }
  }
  </code></pre>