title: Breaking for or loop GWT callback response
body: <p>I want to <strong>break the for loop</strong> in <strong>GWT callback's execute method response</strong>.</p>
  
  <p>For Example,  </p>
  
  <pre><code>for (int idx = 0; idx &lt; recordList.getLength(); idx++) {  //Starting ABC FOR LOOP
      ABCDMI.addData(recordList.get(idx), 
                     new DSCallback() {       
                         public void execute(DSResponse response, Object rawData, DSRequest request) {      
                              if(response.getAttribute("UnSuccess") != null &amp;&amp; !response.getAttribute("UnSuccess").equalsIgnoreCase("")) {    
                                   break;  //I want to break ABC FOR LOOP here.   
                              }
                     }
  }
  </code></pre>
  
  <p>Can anybody help me in this?</p>