title: List bean with stream
body: <p>Can I rewrite the following code using the Java Stream API ???</p>
  
  <pre><code>    List&lt;ActionAttributeType&gt; actionAttributeTypes = executeActionRsType.getBody().getActionAttributes();
      for (ActionAttributeType actionAttributeType : actionAttributeTypes) {
          if (actionAttributeType.getAttributeCode().equals("CONTRACTID")) {
              remoteBankingContractId = actionAttributeType.getAttributeValue();
              break;
          }
      }
  </code></pre>