title: Multiple ifs in a stream using filters
body: <p>How can we represent the following using streams and filters. Thanks.</p>
  
  <pre><code>for (UIDisplayItem uiDisplayItem : uiDisplayItems) {
      if ("8929".equals(uiDisplayItem.getProductSpecCharacteristicID())) {
          type1 = uiDisplayItem.getValue();
      }
      if ("5121".equals(uiDisplayItem.getProductSpecCharacteristicID())) {
          type2 = uiDisplayItem.getValue();
      }
      if ("4981".equals(uiDisplayItem.getProductSpecCharacteristicID())) {
          type3 = uiDisplayItem.getValue();
      }
      if ("501".equals(uiDisplayItem.getProductSpecCharacteristicID())) {
          type4 = uiDisplayItem.getValue();
      }
  }
  </code></pre>