The following is the code which normally write to iterate and based on some condtion,i am adding to some other list.How can i write the same in the Lambdaj. Thanks in advance and your suggestion is appreciable.
List<Person> authorizedPerson = new ArrayList<Person>();
for(Person person : Pesrsons) {
if(person .getAuthorized()) {
authorizedPerson.add(person);
}
}