HelenBlack / lambdaj

Automatically exported from code.google.com/p/lambdaj
Apache License 2.0
0 stars 0 forks source link

Request for nested loop example #103

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
Hi I am new to lambdaj. I went through the examples of lambdaj and was able to 
get my initial requirement working. Now i want to use nested loops on 
collection to filter the lists based on some condition. Is this possible to do 
in lambdaj or should i follow the conventional method?

forEach(Person person:personList){

  forEach(Account account:person.getAccountList()){

          if(condition){
          }
    }
}

Second thing is can i perform inner join operation similar to SQL in lambdaj ? 
Is there any example ?

Kindly Reply

Thank You
Vijay

Original issue reported on code.google.com by vijaygop...@gmail.com on 29 Nov 2012 at 7:05